[FFmpeg-cvslog] ffmpeg: use avformat_close_input instead of av_close_input_file

Jean First git at videolan.org
Tue Jan 3 03:59:49 CET 2012


ffmpeg | branch: master | Jean First <jeanfirst at gmail.com> | Tue Jan  3 00:28:05 2012 +0100| [535705a489ff21a3d2139068c1493aa0d6521560] | committer: Michael Niedermayer

ffmpeg: use avformat_close_input instead of av_close_input_file

Signed-off-by: Jean First <jeanfirst at gmail.com>
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=535705a489ff21a3d2139068c1493aa0d6521560
---

 ffmpeg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 2323552..63249ec 100644
--- 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;
 }
 



More information about the ffmpeg-cvslog mailing list