From cd3716b9aae7e141e7b4faf9783131809f40991f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 11 Dec 2011 10:38:28 +0100 Subject: Replace all uses of av_close_input_file() with avformat_close_input(). --- libavformat/avidec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/avidec.c') 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); -- cgit v1.2.3