diff --git a/gst-libs/gst/codecparsers/gstmpegvideoparser.c b/gst-libs/gst/codecparsers/gstmpegvideoparser.c index 25763e8057..03494a3520 100644 --- a/gst-libs/gst/codecparsers/gstmpegvideoparser.c +++ b/gst-libs/gst/codecparsers/gstmpegvideoparser.c @@ -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);