summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2009-08-18 13:35:59 +0200
committerZaheer Abbas Merali <zaheerabbas@merali.org>2009-09-15 14:35:15 +0100
commitcb9ff89929b9a97888406edbc0499e6f409762b9 (patch)
treead5b9fa7247e60e4d88c88bc0e02233078a2b6ef
parent712ee571905e30c64ff8801c2285efe637b355f6 (diff)
mpegtsdemux, mpegtsparse: max section length is 4093 not 1021.
-rw-r--r--gst/mpegdemux/gstsectionfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegdemux/gstsectionfilter.c b/gst/mpegdemux/gstsectionfilter.c
index e06d76234..5c4b2a44c 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;
}