From: Jun Zhao Date: Sun, 10 Jun 2018 07:56:04 +0000 (+0800) Subject: fftools/ffmpeg: Replace the number by macro for bprint init X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=24be912827f6586f75cbd023b041e9752d66e449;p=ffmpeg fftools/ffmpeg: Replace the number by macro for bprint init Replace the number by macro for bprint init. Signed-off-by: Jun Zhao --- diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 50c2fa5d511..6dfab64bc72 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -1689,7 +1689,7 @@ static void print_report(int is_last_report, int64_t timer_start, int64_t cur_ti vid = 0; av_bprint_init(&buf, 0, AV_BPRINT_SIZE_AUTOMATIC); - av_bprint_init(&buf_script, 0, 1); + av_bprint_init(&buf_script, 0, AV_BPRINT_SIZE_AUTOMATIC); for (i = 0; i < nb_output_streams; i++) { float q = -1; ost = output_streams[i];