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:
David Schleef 2013-02-11 17:58:31 -08:00
parent 20627cc5d5
commit 743098fe8c

View file

@ -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);