Commit 35a26f3b authored by kostya's avatar kostya

Fix demuxing of AVIs with pad streams.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5271 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 20db48a0
......@@ -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];
......
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