]> git.sesse.net Git - ffmpeg/blobdiff - avprobe.c
mpegenc: use avctx->slices as number of slices
[ffmpeg] / avprobe.c
index 992f07c5cfdbc1c28a9a0a291a5e88a5762fb774..de9657b7e37b020ed2b88a49e1498c9f9a4dc7b9 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;
 }