[FFmpeg-cvslog] fftools/ffmpeg_filter: Replace the number by macro for bprint init
Jun Zhao
git at videolan.org
Sun Jun 17 05:01:43 EEST 2018
ffmpeg | branch: master | Jun Zhao <mypopydev at gmail.com> | Sun Jun 10 15:57:26 2018 +0800| [df9fe79b3c32e8c909e6fe389d3b3432bc1356cf] | committer: Jun Zhao
fftools/ffmpeg_filter: 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=df9fe79b3c32e8c909e6fe389d3b3432bc1356cf
---
fftools/ffmpeg_filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 068f499e0b..6518d50870 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -775,7 +775,7 @@ static int configure_input_video_filter(FilterGraph *fg, InputFilter *ifilter,
sar = ifilter->sample_aspect_ratio;
if(!sar.den)
sar = (AVRational){0,1};
- av_bprint_init(&args, 0, 1);
+ av_bprint_init(&args, 0, AV_BPRINT_SIZE_AUTOMATIC);
av_bprintf(&args,
"video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:"
"pixel_aspect=%d/%d:sws_param=flags=%d",
More information about the ffmpeg-cvslog
mailing list