From 8d6aed529719012807f45b302e74a7bf76550810 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 1 Jun 2012 10:59:22 +0200 Subject: [PATCH] codecparsers: mpeg: relax entry constraint ... since it is acceptable and properly handled further on. --- gst-libs/gst/codecparsers/gstmpegvideoparser.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst-libs/gst/codecparsers/gstmpegvideoparser.c b/gst-libs/gst/codecparsers/gstmpegvideoparser.c index eb6e61913a..fbe37ef5e9 100644 --- a/gst-libs/gst/codecparsers/gstmpegvideoparser.c +++ b/gst-libs/gst/codecparsers/gstmpegvideoparser.c @@ -236,7 +236,6 @@ scan_for_start_codes (const GstByteReader * reader, guint offset, guint size) const guint8 *data; guint i = 0; - g_return_val_if_fail (size > 0, -1); g_return_val_if_fail ((guint64) offset + size <= reader->size - reader->byte, -1);