[FFmpeg-devel] [PATCH 2/5] ffmpeg: use avformat_close_input instead of av_close_input_file

Jean First jeanfirst at gmail.com
Tue Jan 3 00:28:05 CET 2012


Signed-off-by: Jean First <jeanfirst at gmail.com>
---
 ffmpeg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 1fe9fa6..46cd0d7 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4223,7 +4223,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;
 }
 
-- 
1.7.7.3



More information about the ffmpeg-devel mailing list