diff options
author | Dmitry Borisov <jbors@mail.ru> | 2004-04-23 21:02:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-23 21:02:01 +0000 |
commit | df70de1f61c844f3ceb34abe5b424d9acd50d0f2 (patch) | |
tree | ef5873786bcc67ceccf8271a38650c668f8c7a88 /libavformat/mpeg.c | |
parent | 2f0472ff815a82082ecb621df4f6b8d5bdade439 (diff) | |
download | ffmpeg-df70de1f61c844f3ceb34abe5b424d9acd50d0f2.tar.gz |
Mpeg start codes patch by ("Dmitry Borisov" <jbors at mail dot ru>)
Originally committed as revision 3046 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r-- | libavformat/mpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 05957e6f6e..6112d75192 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -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; |