Browse Source

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
tags/v0.5
Wolfram Gloger Michael Niedermayer 21 years ago
parent
commit
550f0a9b07
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mpegts.c

+ 1
- 1
libavformat/mpegts.c 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);


Loading…
Cancel
Save