1
0
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:
Dmitry Borisov 2004-04-23 21:02:01 +00:00 committed by Michael Niedermayer
parent 2f0472ff81
commit df70de1f61

View File

@ -1178,6 +1178,9 @@ static int mpegps_read_pes_header(AVFormatContext *s,
header_len--; header_len--;
} }
} }
else if( c!= 0xf )
goto redo;
if (startcode == 0x1bd) { if (startcode == 0x1bd) {
if (len < 1) if (len < 1)
goto redo; goto redo;