diff libvo/osd.c @ 28881:340e60d5b46b

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).
author kostya
date Mon, 09 Mar 2009 17:25:43 +0000
parents 7681eab10aea
children 62f0032e736a
line wrap: on
line diff