summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean First <[email protected]>2012-01-03 00:28:05 +0100
committerMichael Niedermayer <[email protected]>2012-01-03 03:19:03 +0100
commit535705a489ff21a3d2139068c1493aa0d6521560 (patch)
treea6513256e818495babecbfdf7bfbff8c7bf80151
parentf86c348d46db885a98d349ceed1eebf384d6ef01 (diff)
ffmpeg: use avformat_close_input instead of av_close_input_file
Signed-off-by: Jean First <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
-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;
}