aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-12-11 10:38:28 +0100
committerAnton Khirnov <anton@khirnov.net>2011-12-12 20:34:38 +0100
commitcd3716b9aae7e141e7b4faf9783131809f40991f (patch)
tree242d19f2239d299454d57879582d1ef0f9fe44ca /libavformat/avidec.c
parent526604545fb1cc0c11af356fbffd5cddf8cdc95f (diff)
downloadffmpeg-cd3716b9aae7e141e7b4faf9783131809f40991f.tar.gz
Replace all uses of av_close_input_file() with avformat_close_input().
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index ad35995b05..b45224f641 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -1365,7 +1365,7 @@ static int avi_read_close(AVFormatContext *s)
if (ast) {
if (ast->sub_ctx) {
av_freep(&ast->sub_ctx->pb);
- av_close_input_file(ast->sub_ctx);
+ avformat_close_input(&ast->sub_ctx);
}
av_free(ast->sub_buffer);
av_free_packet(&ast->sub_pkt);