diff options
author | Jun Zhao <mypopydev@gmail.com> | 2018-06-10 15:57:26 +0800 |
---|---|---|
committer | Jun Zhao <jun.zhao@intel.com> | 2018-06-17 09:59:33 +0800 |
commit | df9fe79b3c32e8c909e6fe389d3b3432bc1356cf (patch) | |
tree | dc79a586b8690d3bb399b6f941eae2bc7af10330 | |
parent | 24be912827f6586f75cbd023b041e9752d66e449 (diff) | |
download | ffmpeg-df9fe79b3c32e8c909e6fe389d3b3432bc1356cf.tar.gz |
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@gmail.com>
-rw-r--r-- | fftools/ffmpeg_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |