Commit c33fc0a5 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Originally committed as revision 7537 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e22f2aaf
......@@ -397,7 +397,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
break;
case MKTAG('s', 't', 'r', 'f'):
/* 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);
} else {
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