aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2010-03-10 14:26:15 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2010-03-10 14:26:15 +0000
commit114a93c7002c311d348fbfe0d50c82d61858ce5d (patch)
tree41e46e368d118f0522c6a796020e899a94e008d2
parent2dc22a64b49613dd9f2cff82148c54d683951c88 (diff)
downloadffmpeg-114a93c7002c311d348fbfe0d50c82d61858ce5d.tar.gz
Fix ffm_close return type.
Originally committed as revision 22432 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/ffmdec.c4
1 files changed, 3 insertions, 1 deletions
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 = {