Commit df70de1f authored by Dmitry Borisov's avatar Dmitry Borisov Committed by Michael Niedermayer

Mpeg start codes patch by ("Dmitry Borisov" <jbors at mail dot ru>)

Originally committed as revision 3046 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2f0472ff
...@@ -1178,6 +1178,9 @@ static int mpegps_read_pes_header(AVFormatContext *s, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment