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:
committed by
Michael Niedermayer
parent
6c205de244
commit
550f0a9b07
@@ -1467,7 +1467,7 @@ int mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
|
|||||||
if (len < TS_PACKET_SIZE)
|
if (len < TS_PACKET_SIZE)
|
||||||
return -1;
|
return -1;
|
||||||
if (buf[0] != 0x47) {
|
if (buf[0] != 0x47) {
|
||||||
buf--;
|
buf++;
|
||||||
len--;
|
len--;
|
||||||
} else {
|
} else {
|
||||||
handle_packet(ts, buf);
|
handle_packet(ts, buf);
|
||||||
|
|||||||
Reference in New Issue
Block a user