mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue