From 114a93c7002c311d348fbfe0d50c82d61858ce5d Mon Sep 17 00:00:00 2001 From: Benoit Fouet Date: Wed, 10 Mar 2010 14:26:15 +0000 Subject: Fix ffm_close return type. Originally committed as revision 22432 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/ffmdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavformat/ffmdec.c') diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index 90c806f2d5..ff61f21c91 100644 --- a/libavformat/ffmdec.c +++ b/libavformat/ffmdec.c @@ -512,12 +512,14 @@ static int ffm_probe(AVProbeData *p) return 0; } -static void ffm_close(AVFormatContext *s) +static int ffm_close(AVFormatContext *s) { int i; for (i = 0; i < s->nb_streams; i++) av_freep(&s->streams[i]->codec->rc_eq); + + return 0; } AVInputFormat ffm_demuxer = { -- cgit v1.2.3