mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Mpeg start codes patch by ("Dmitry Borisov" <jbors at mail dot ru>)
Originally committed as revision 3046 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2f0472ff81
commit
df70de1f61
@ -1178,6 +1178,9 @@ static int mpegps_read_pes_header(AVFormatContext *s,
|
||||
header_len--;
|
||||
}
|
||||
}
|
||||
else if( c!= 0xf )
|
||||
goto redo;
|
||||
|
||||
if (startcode == 0x1bd) {
|
||||
if (len < 1)
|
||||
goto redo;
|
||||
|
Loading…
Reference in New Issue
Block a user