changeset 5806:cc7800226186 libavformat

Fix ffm_close return type.
author benoit
date Wed, 10 Mar 2010 14:26:15 +0000
parents ee47b525644c
children f4ca0041b4f4
files ffmdec.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ffmdec.c	Wed Mar 10 13:17:50 2010 +0000
+++ b/ffmdec.c	Wed Mar 10 14:26:15 2010 +0000
@@ -512,12 +512,14 @@
     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 = {