diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-01-15 22:56:46 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-01-15 22:56:46 +0000 |
commit | c33fc0a5409d19eb04ac7135e3e2b4c77bee654f (patch) | |
tree | d64da62fa31e464604f971805487756827718113 /libavformat/avidec.c | |
parent | e22f2aaf99c59d788f292c4d7594493068eb4d69 (diff) | |
download | ffmpeg-c33fc0a5409d19eb04ac7135e3e2b4c77bee654f.tar.gz |
fixing segfault with http://sam.zoy.org/zzuf/lol-ffplay.avi
Originally committed as revision 7537 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 276689dd5c..6d5a0c98e1 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -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]; |