summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffmpeg.c5
1 files changed, 5 insertions, 0 deletions
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