diff --git a/ffmpeg.c b/ffmpeg.c index 575a4f792e..751ba08149 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3816,6 +3816,11 @@ int main(int argc, char **argv) av_free(intra_matrix); av_free(inter_matrix); + + if (fvstats) + fclose(fvstats); + av_free(vstats_filename); + av_free(opt_names); #ifdef CONFIG_POWERPC_PERF