mpegtsdemux, mpegtsparse: max section length is 4093 not 1021.
authorZaheer Abbas Merali <zaheerabbas@merali.org>
Tue, 18 Aug 2009 11:35:59 +0000 (13:35 +0200)
committerZaheer Abbas Merali <zaheerabbas@merali.org>
Tue, 15 Sep 2009 13:35:15 +0000 (14:35 +0100)
gst/mpegdemux/gstsectionfilter.c

index e06d76234ec7954508bbb16c7ca7b6f63854a886..5c4b2a44c5f710fa3d32d5c1aa3ef86bfbefe614 100644 (file)
@@ -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;
     }