summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 6af76953aa..577fed3e39 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1160,7 +1160,7 @@ static int probe_file(const char *filename)
PRINT_CHAPTER(format);
writer_print_footer(wctx);
- av_close_input_file(fmt_ctx);
+ avformat_close_input(&fmt_ctx);
writer_close(&wctx);
end: