video: fix unpack_Y410
It should handle data starting from x
This commit is contained in:
parent
4ab04e5dea
commit
a6afa88812
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user