summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2012-01-03 00:28:05 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-03 03:19:03 +0100
commit535705a489ff21a3d2139068c1493aa0d6521560 (patch)
treea6513256e818495babecbfdf7bfbff8c7bf80151 /ffmpeg.c
parentf86c348d46db885a98d349ceed1eebf384d6ef01 (diff)
ffmpeg: use avformat_close_input instead of av_close_input_file
Signed-off-by: Jean First <jeanfirst@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 2323552fdf..63249ec445 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;
}