mpegvideoparser: increase min size for picture coding ext
This could use additional work. The parsing code overruns the end of buffers during normal operation, triggering GST_WARNINGs.
This commit is contained in:
parent
20627cc5d5
commit
743098fe8c
@ -617,7 +617,7 @@ gst_mpeg_video_parse_picture_extension (GstMpegVideoPictureExt * ext,
|
||||
|
||||
size -= offset;
|
||||
|
||||
if (size < 4)
|
||||
if (size < 5)
|
||||
return FALSE;
|
||||
|
||||
gst_bit_reader_init (&br, &data[offset], size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user