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
This commit is contained in:
Wolfram Gloger 2004-04-13 13:33:02 +00:00 committed by Michael Niedermayer
parent 6c205de244
commit 550f0a9b07
1 changed files with 1 additions and 1 deletions

View File

@ -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);