changeset 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 afbe3a5aae02
children c1f88671135b
files mpegts.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);