]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avidec.c
build: fix standalone compilation of OMA muxer
[ffmpeg] / libavformat / avidec.c
index ad35995b055cd95d4ddb7d7d18018c636c05c1f6..b45224f641efb866f72872ea0c6f5faa779eaaa3 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);