Commit [ac4bfa] Maximize Restore History

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: svn:// b3059339-0415-0410-9bf9-f77b7e298cf2

kostya kostya 2009-03-09

changed swscale_template.c
swscale_template.c Diff Switch to side-by-side view