Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = {