4xm: remove unneeded check for remaining unused data.
[ffmpeg.git] / avprobe.c
index 992f07c..de9657b 100644 (file)
--- 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;
 }