aboutsummaryrefslogtreecommitdiffstats
path: root/fftools
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-06-10 15:53:24 +0800
committerJun Zhao <jun.zhao@intel.com>2018-06-17 10:00:23 +0800
commitbd47cca6a79616ae1ebf2baf1e8b071dd1707b0d (patch)
tree66b360b56417ae476f5d77cf292aa2f865c0f5ee /fftools
parent7f5b8f0883b877b59eedda95417952df3e9ae1d7 (diff)
downloadffmpeg-bd47cca6a79616ae1ebf2baf1e8b071dd1707b0d.tar.gz
fftools/cmdutils: Replace the number by macro for bprint init
Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Diffstat (limited to 'fftools')
-rw-r--r--fftools/cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 844f43359c..b8de319fe4 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -1018,7 +1018,7 @@ static int init_report(const char *env)
av_free(key);
}
- av_bprint_init(&filename, 0, 1);
+ av_bprint_init(&filename, 0, AV_BPRINT_SIZE_AUTOMATIC);
expand_filename_template(&filename,
av_x_if_null(filename_template, "%p-%t.log"), tm);
av_free(filename_template);