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
pull/126/head
Wolfram Gloger 21 years ago committed by Michael Niedermayer
parent 6c205de244
commit 550f0a9b07
  1. 2
      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);

Loading…
Cancel
Save