diff --git a/lib/PlaYUVerFrame.cpp b/lib/PlaYUVerFrame.cpp index 4a85f15..da0c4eb 100644 --- a/lib/PlaYUVerFrame.cpp +++ b/lib/PlaYUVerFrame.cpp @@ -372,7 +372,7 @@ Void PlaYUVerFrame::fillRGBBuffer() iR = *pR++; iG = *pG++; iB = *pB++; - *pARGB++ = PEL_RGB( iR, iG, iB ); + *pARGB++ = PEL_RGB( ( iR >> shiftBits ), ( iG >> shiftBits ), ( iB >> shiftBits ) ); } } else if( m_pcPelFormat->colorSpace == COLOR_YUV )