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>
This commit is contained in:
Jun Zhao 2018-06-10 15:53:24 +08:00 committed by Jun Zhao
parent 7f5b8f0883
commit bd47cca6a7
1 changed files with 1 additions and 1 deletions

View File

@ -1018,7 +1018,7 @@ static int init_report(const char *env)
av_free(key); av_free(key);
} }
av_bprint_init(&filename, 0, 1); av_bprint_init(&filename, 0, AV_BPRINT_SIZE_AUTOMATIC);
expand_filename_template(&filename, expand_filename_template(&filename,
av_x_if_null(filename_template, "%p-%t.log"), tm); av_x_if_null(filename_template, "%p-%t.log"), tm);
av_free(filename_template); av_free(filename_template);