From cb9ff89929b9a97888406edbc0499e6f409762b9 Mon Sep 17 00:00:00 2001 From: Zaheer Abbas Merali Date: Tue, 18 Aug 2009 13:35:59 +0200 Subject: [PATCH] mpegtsdemux, mpegtsparse: max section length is 4093 not 1021. --- gst/mpegdemux/gstsectionfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/mpegdemux/gstsectionfilter.c b/gst/mpegdemux/gstsectionfilter.c index e06d76234e..5c4b2a44c5 100644 --- a/gst/mpegdemux/gstsectionfilter.c +++ b/gst/mpegdemux/gstsectionfilter.c @@ -135,7 +135,7 @@ gst_section_filter_push (GstSectionFilter * filter, gboolean pusi, /* deter } filter->section_length = GST_READ_UINT16_BE (data + 1); filter->section_length &= 0x0fff; - if (filter->section_length > 1021) { + if (filter->section_length > 4093) { GST_DEBUG ("section length too big"); goto failure; }