aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-06-10 15:56:04 +0800
committerJun Zhao <jun.zhao@intel.com>2018-06-17 09:59:33 +0800
commit24be912827f6586f75cbd023b041e9752d66e449 (patch)
tree66df0aff0d6a4eb066d41c5dead0cf3569fb8ad2
parent8331e59133188ad9a0640b3a994da9465a95a4dc (diff)
downloadffmpeg-24be912827f6586f75cbd023b041e9752d66e449.tar.gz
fftools/ffmpeg: Replace the number by macro for bprint init
Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 50c2fa5d51..6dfab64bc7 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];