summaryrefslogtreecommitdiff
path: root/avprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avprobe.c b/avprobe.c
index 992f07c5cf..de9657b7e3 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -325,7 +325,7 @@ static int probe_file(const char *filename)
if (do_show_format)
show_format(fmt_ctx);
- av_close_input_file(fmt_ctx);
+ avformat_close_input(&fmt_ctx);
return 0;
}