avidec: fix error introduced in r17382

Originally committed as revision 17385 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-02-16 18:52:14 +00:00
parent 02c0c8d17d
commit 037c08d6cd

View 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);