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 a29eedaa39f93c549791e474425b703a94f743e0..69c9051ceaea9180cf6dc62c90938ddf2d127ef9 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);