comparison avidec.c @ 1051:eda6e2c47b6f libavformat

Fix demuxing of AVIs with pad streams.
author kostya
date Thu, 06 Apr 2006 03:33:10 +0000
parents e4eb95d550ca
children 8aa77d05572e
comparison
equal deleted inserted replaced
1050:ece3b7eecba2 1051:eda6e2c47b6f
288 break; 288 break;
289 } 289 }
290 290
291 if (stream_index >= s->nb_streams) { 291 if (stream_index >= s->nb_streams) {
292 url_fskip(pb, size - 8); 292 url_fskip(pb, size - 8);
293 /* ignore padding stream */
294 if (tag1 == MKTAG('p', 'a', 'd', 's'))
295 stream_index--;
293 break; 296 break;
294 } 297 }
295 st = s->streams[stream_index]; 298 st = s->streams[stream_index];
296 ast = st->priv_data; 299 ast = st->priv_data;
297 st->codec->stream_codec_tag= handler; 300 st->codec->stream_codec_tag= handler;