Browse Source

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

Originally committed as revision 3046 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Dmitry Borisov Michael Niedermayer 22 years ago
parent
commit
df70de1f61
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavformat/mpeg.c

+ 3
- 0
libavformat/mpeg.c View File

@@ -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…
Cancel
Save