diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-06-01 10:59:22 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-06-01 11:13:17 +0200 |
commit | 8d6aed529719012807f45b302e74a7bf76550810 (patch) | |
tree | ac3e9de450291252edca25450c70330a32426732 | |
parent | dd5d96af83533a307d28320781e78a37a5728d7a (diff) | |
download | gstreamer-plugins-bad-8d6aed529719012807f45b302e74a7bf76550810.tar.gz |
codecparsers: mpeg: relax entry constraint
... since it is acceptable and properly handled further on.
-rw-r--r-- | gst-libs/gst/codecparsers/gstmpegvideoparser.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gst-libs/gst/codecparsers/gstmpegvideoparser.c b/gst-libs/gst/codecparsers/gstmpegvideoparser.c index eb6e61913..fbe37ef5e 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); |