Commit 114a93c7 authored by Benoit Fouet's avatar Benoit Fouet

Fix ffm_close return type.

Originally committed as revision 22432 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2dc22a64
...@@ -512,12 +512,14 @@ static int ffm_probe(AVProbeData *p) ...@@ -512,12 +512,14 @@ static int ffm_probe(AVProbeData *p)
return 0; return 0;
} }
static void ffm_close(AVFormatContext *s) static int ffm_close(AVFormatContext *s)
{ {
int i; int i;
for (i = 0; i < s->nb_streams; i++) for (i = 0; i < s->nb_streams; i++)
av_freep(&s->streams[i]->codec->rc_eq); av_freep(&s->streams[i]->codec->rc_eq);
return 0;
} }
AVInputFormat ffm_demuxer = { AVInputFormat ffm_demuxer = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment