diff --git a/gst/ffmpegcolorspace/imgconvert_template.h b/gst/ffmpegcolorspace/imgconvert_template.h index c06cd280ac..04ff788efd 100644 --- a/gst/ffmpegcolorspace/imgconvert_template.h +++ b/gst/ffmpegcolorspace/imgconvert_template.h @@ -119,7 +119,7 @@ static void glue (yvyu422_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;