Commit bd47cca6 authored by Jun Zhao's avatar Jun Zhao Committed by Jun Zhao

fftools/cmdutils: Replace the number by macro for bprint init

Replace the number by macro for bprint init.
Signed-off-by: 's avatarJun Zhao <mypopydev@gmail.com>
parent 7f5b8f08
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment