Mask all unused bits for packed pixel format instead of green and alpha mask only.
That fixes the case when converting 15-bit RGB/BGR to YUV and high bit is set for input value(s). git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@28916 b3059339-0415-0410-9bf9-f77b7e298cf2
Showing
Please register or sign in to comment