mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
Fix demuxing of AVIs with pad streams.
Originally committed as revision 5271 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -290,6 +290,9 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
|
||||
if (stream_index >= s->nb_streams) {
|
||||
url_fskip(pb, size - 8);
|
||||
/* ignore padding stream */
|
||||
if (tag1 == MKTAG('p', 'a', 'd', 's'))
|
||||
stream_index--;
|
||||
break;
|
||||
}
|
||||
st = s->streams[stream_index];
|
||||
|
||||
Reference in New Issue
Block a user