diff --git a/gst-libs/gst/video/video-format.c b/gst-libs/gst/video/video-format.c index fe587fa80d..160b2343c5 100644 --- a/gst-libs/gst/video/video-format.c +++ b/gst-libs/gst/video/video-format.c @@ -899,6 +899,8 @@ unpack_Y410 (const GstVideoFormatInfo * info, GstVideoPackFlags flags, guint32 AVYU; guint16 A, Y, U, V; + s += x * 4; + for (i = 0; i < width; i++) { AVYU = GST_READ_UINT32_LE (s + 4 * i);