Commit 2d5980fb authored by michael's avatar michael

fixing segfault with http://sam.zoy.org/zzuf/lol-ffplay.avi


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7537 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 63794acc
...@@ -397,7 +397,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -397,7 +397,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
break; break;
case MKTAG('s', 't', 'r', 'f'): case MKTAG('s', 't', 'r', 'f'):
/* stream header */ /* stream header */
if (stream_index >= s->nb_streams || avi->dv_demux) { if (stream_index >= (unsigned)s->nb_streams || avi->dv_demux) {
url_fskip(pb, size); url_fskip(pb, size);
} else { } else {
st = s->streams[stream_index]; 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