[FFmpeg-cvslog] fftools/cmdutils: Replace the number by macro for bprint init
Jun Zhao
git at videolan.org
Sun Jun 17 05:02:04 EEST 2018
ffmpeg | branch: master | Jun Zhao <mypopydev at gmail.com> | Sun Jun 10 15:53:24 2018 +0800| [bd47cca6a79616ae1ebf2baf1e8b071dd1707b0d] | committer: Jun Zhao
fftools/cmdutils: 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=bd47cca6a79616ae1ebf2baf1e8b071dd1707b0d
---
fftools/cmdutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 844f43359c..b8de319fe4 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list