ffmpegcolorspace: Use correct Y offset for the YUY2 -> RGB conversions

Fixes bug #623530.
This commit is contained in:
Sebastian Dröge 2010-07-04 17:26:03 +02:00
parent 3827e88328
commit d774b46077

View file

@ -80,7 +80,7 @@ static void glue (yuv422_to_, RGB_NAME)(AVPicture *dst, const AVPicture *src,
RGB_OUT(d1, r, g, b);
d1 += BPP;
YUV_TO_RGB2_CCIR(r, g, b, s1[1]);
YUV_TO_RGB2_CCIR(r, g, b, s1[2]);
RGB_OUT(d1, r, g, b);
d1 += BPP;