gstreamer/gst/mpegtsdemux
Aurélien Zanelli 6d767a09d8 tsdemux: fix overflow of packet_length field of PESHeader
packet_length is defined as a guint16 in the PESHeader structure. This
definition match the specification. But since we add 6 bytes to the
packet_length value (length of start_code + stream_id + packet_length),
we can overflow the guint16 when the value in the PES header is greater
than 65529.
So use a guint32 instead of a guint16 to avoid overflow.

https://bugzilla.gnome.org/show_bug.cgi?id=736490
2014-09-12 11:27:52 +02:00
..
gstmpegdefs.h tsdemux: Fix scaling macros 2014-04-18 16:20:31 +02:00
gstmpegdesc.h tsdemux: Add HEVC / h265 support 2014-01-06 13:54:40 +01:00
gsttsdemux.c mpegtsdemux: Update plugin license field 2014-02-06 14:28:54 +01:00
Makefile.am tsdemux: implement proper seeking for h264 streams. 2014-06-12 14:44:10 +02:00
mpegtsbase.c mpegts: Unify API : GstMpegts / gst_mpegts_ / GST_*_MPEGTS_ 2014-06-25 14:50:05 +02:00
mpegtsbase.h mpegts: Unify API : GstMpegts / gst_mpegts_ / GST_*_MPEGTS_ 2014-06-25 14:50:05 +02:00
mpegtspacketizer.c tsdemux: clear mutex resources in dispose 2014-09-10 18:53:47 +01:00
mpegtspacketizer.h mpegtspacketizer: Store PCR time/byte offsets in 64 bit integers 2014-08-05 11:45:55 +02:00
mpegtsparse.c mpegts: Unify API : GstMpegts / gst_mpegts_ / GST_*_MPEGTS_ 2014-06-25 14:50:05 +02:00
mpegtsparse.h mpegtsparse: Queue buffers until we have enough to know the caps 2013-09-27 16:10:54 +02:00
pesparse.c tsdemux: Fix flags comparison operator precedence 2014-01-28 13:56:44 +01:00
pesparse.h tsdemux: fix overflow of packet_length field of PESHeader 2014-09-12 11:27:52 +02:00
TODO tsdemux: Update TODO 2012-03-05 10:17:56 +01:00
tsdemux.c tsdemux: remove pads when resetting the element 2014-08-19 00:02:33 -03:00
tsdemux.h tsdemux: implement proper seeking for h264 streams. 2014-06-12 14:44:10 +02:00