Fix frame to ARGB from GRAY when bpp is different than 8

This commit is contained in:
2015-04-06 00:40:50 +01:00
parent 95c35373f4
commit d3e27c10b8
+1 -1
View File
@@ -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 )