diff --git a/gst-libs/gst/codecparsers/gstmpegvideoparser.c b/gst-libs/gst/codecparsers/gstmpegvideoparser.c index 5d0e6a7917..408ae03fe6 100644 --- a/gst-libs/gst/codecparsers/gstmpegvideoparser.c +++ b/gst-libs/gst/codecparsers/gstmpegvideoparser.c @@ -264,7 +264,7 @@ gst_mpeg_video_parse (GstMpegVideoPacket * packet, size -= off + 4; off = scan_for_start_codes (&br, 0, size); - if (off > 0) + if (off >= 0) packet->size = off; return TRUE;