[gst-cvs] gst-plugins-bad: mpegdemux: Fixed a bug in the TS scanner. Fixes #574009

Edward Hervey bilboed at kemper.freedesktop.org
Tue Mar 10 13:25:11 PDT 2009


Module: gst-plugins-bad
Branch: master
Commit: bfdfc069aafccf7a207fd19e52707d7d3ff0ad79
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=bfdfc069aafccf7a207fd19e52707d7d3ff0ad79

Author: Josep Torra <n770galaxy at gmail.com>
Date:   Tue Mar 10 21:18:20 2009 +0100

mpegdemux: Fixed a bug in the TS scanner. Fixes #574009

---

 gst/mpegdemux/gstmpegdemux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c
index 1794cfc..060fa85 100644
--- a/gst/mpegdemux/gstmpegdemux.c
+++ b/gst/mpegdemux/gstmpegdemux.c
@@ -2106,7 +2106,7 @@ gst_flups_demux_scan_ts (GstFluPSDemux * demux, const guint8 * data,
 
   /* STD buffer size, never for mpeg2 */
   if ((*data & 0xc0) == 0x40)
-    data += 3;
+    data += 2;
 
   /* PTS but no DTS, never for mpeg2 */
   if ((*data & 0xf0) == 0x20) {





More information about the Gstreamer-commits mailing list