avidec: fix error introduced in r17382
authorMåns Rullgård <mans@mansr.com>
Mon, 16 Feb 2009 18:52:14 +0000 (18:52 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 16 Feb 2009 18:52:14 +0000 (18:52 +0000)
Originally committed as revision 17385 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avidec.c

index a29eeda..69c9051 100644 (file)
@@ -248,7 +248,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
 
     avi->stream_index= -1;
 
-    if (get_riff(s, avi, pb) < 0)
+    if (get_riff(s, pb) < 0)
         return -1;
 
     avi->fsize = url_fsize(pb);