diff options
author | Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> | 2004-04-13 13:33:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-13 13:33:02 +0000 |
commit | 550f0a9b07f9c70036e4067f8ed85545423a1576 (patch) | |
tree | f1ff2715f0a74ef0708e66fe78e96efb947c71fa /libavformat | |
parent | 6c205de2441874e9af568a59d45d396bd00960cd (diff) | |
download | ffmpeg-550f0a9b07f9c70036e4067f8ed85545423a1576.tar.gz |
Off-by-two in mpegts.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3011 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 192507c44f..4a51b21c45 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1467,7 +1467,7 @@ int mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt, if (len < TS_PACKET_SIZE) return -1; if (buf[0] != 0x47) { - buf--; + buf++; len--; } else { handle_packet(ts, buf); |