Replace all uses of av_close_input_file() with avformat_close_input().
[ffmpeg.git] / libavformat / avidec.c
index ad35995..b45224f 100644 (file)
@@ -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);