aboutsummaryrefslogtreecommitdiffstats
path: root/ffprobe.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-10-18 19:09:40 +0200
committerClément Bœsch <ubitux@gmail.com>2011-10-18 19:11:05 +0200
commit2f468826ee18b4bb8ac86ae39fac299c4cbc2457 (patch)
treeead395d4d9e516086b84bf8053f5f8ca7a15968f /ffprobe.c
parentf4eeb000bf4b5bf2e2285973aa3ecd12633f3bf0 (diff)
downloadffmpeg-2f468826ee18b4bb8ac86ae39fac299c4cbc2457.tar.gz
ffprobe: prefer av_freep() over av_free() for global print_format option.
It could be re-used for instance in case ffprobe would support multiple input files.
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 52b33f8b59..470001c406 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -842,7 +842,7 @@ static int probe_file(const char *filename)
writer_close(&wctx);
end:
- av_free(print_format);
+ av_freep(&print_format);
return ret;
}