[FFmpeg-cvslog] fftools/ffmpeg: Replace the number by macro for bprint init
Jun Zhao
git at videolan.org
Sun Jun 17 05:01:38 EEST 2018
ffmpeg | branch: master | Jun Zhao <mypopydev at gmail.com> | Sun Jun 10 15:56:04 2018 +0800| [24be912827f6586f75cbd023b041e9752d66e449] | committer: Jun Zhao
fftools/ffmpeg: Replace the number by macro for bprint init
Replace the number by macro for bprint init.
Signed-off-by: Jun Zhao <mypopydev at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=24be912827f6586f75cbd023b041e9752d66e449
---
fftools/ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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];
More information about the ffmpeg-cvslog
mailing list