Commit 8da0676d authored by benoit's avatar benoit

Fix ffm_close return type.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22432 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a7a4a698
...@@ -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