ffmpeg: use avformat_close_input instead of av_close_input_file
authorJean First <jeanfirst@gmail.com>
Mon, 2 Jan 2012 23:28:05 +0000 (00:28 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jan 2012 02:19:03 +0000 (03:19 +0100)
Signed-off-by: Jean First <jeanfirst@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index 2323552..63249ec 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4224,7 +4224,7 @@ static int read_ffserver_streams(OptionsContext *o, AVFormatContext *s, const ch
             choose_pixel_fmt(st, codec);
     }
 
-    av_close_input_file(ic);
+    avformat_close_input(&ic);
     return 0;
 }