mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-28 01:05:07 +00:00
ffmpegcolorspace: Use correct Y offset for the YUY2 -> RGB conversions
Fixes bug #623530.
This commit is contained in:
parent
3827e88328
commit
d774b46077
|
@ -80,7 +80,7 @@ static void glue (yuv422_to_, RGB_NAME)(AVPicture *dst, const AVPicture *src,
|
||||||
RGB_OUT(d1, r, g, b);
|
RGB_OUT(d1, r, g, b);
|
||||||
d1 += BPP;
|
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);
|
RGB_OUT(d1, r, g, b);
|
||||||
d1 += BPP;
|
d1 += BPP;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue