Commit 550f0a9b authored by Wolfram Gloger's avatar Wolfram Gloger Committed by Michael Niedermayer

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
parent 6c205de2
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment