]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avidec.c
flv follows in movs footsteps and has random trash in the width/height fields
[ffmpeg] / libavformat / avidec.c
index 6d5a0c98e14063e493679407a7af45aaacfd0b5d..276689dd5c1e0e203123191cd573c59ba3e27bf4 100644 (file)
@@ -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 >= (unsigned)s->nb_streams || avi->dv_demux) {
+            if (stream_index >= s->nb_streams || avi->dv_demux) {
                 url_fskip(pb, size);
             } else {
                 st = s->streams[stream_index];