diff mpegts.c @ 444:d42038d418a0 libavformat

Off-by-two in mpegts.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
author michael
date Tue, 13 Apr 2004 13:33:02 +0000
parents 0d92246d3644
children b69898ffc92a
line wrap: on
line diff
--- a/mpegts.c	Mon Apr 12 22:54:48 2004 +0000
+++ b/mpegts.c	Tue Apr 13 13:33:02 2004 +0000
@@ -1467,7 +1467,7 @@
         if (len < TS_PACKET_SIZE)
             return -1;
         if (buf[0] != 0x47) {
-            buf--;
+            buf++;
             len--;
         } else {
             handle_packet(ts, buf);