diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-10-18 19:09:40 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-10-18 19:11:05 +0200 |
commit | 2f468826ee18b4bb8ac86ae39fac299c4cbc2457 (patch) | |
tree | ead395d4d9e516086b84bf8053f5f8ca7a15968f /ffprobe.c | |
parent | f4eeb000bf4b5bf2e2285973aa3ecd12633f3bf0 (diff) | |
download | ffmpeg-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |