diff options
author | Jun Zhao <mypopydev@gmail.com> | 2018-06-10 16:01:35 +0800 |
---|---|---|
committer | Jun Zhao <jun.zhao@intel.com> | 2018-06-17 09:59:33 +0800 |
commit | 483532bc72a242e88e253d4df2a7cf06cfeb38f3 (patch) | |
tree | 84eae29e75ca4ac195a6109b4373c10a8a0d1ab8 | |
parent | 9809ac98bde14f71459a8133f7d98e353370ea33 (diff) | |
download | ffmpeg-streaming-483532bc72a242e88e253d4df2a7cf06cfeb38f3.zip ffmpeg-streaming-483532bc72a242e88e253d4df2a7cf06cfeb38f3.tar.gz |
lavfi/graphdump: 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-- | libavfilter/graphdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/graphdump.c b/libavfilter/graphdump.c index 7377719..8bc7b16 100644 --- a/libavfilter/graphdump.c +++ b/libavfilter/graphdump.c @@ -156,7 +156,7 @@ char *avfilter_graph_dump(AVFilterGraph *graph, const char *options) AVBPrint buf; char *dump; - av_bprint_init(&buf, 0, 0); + av_bprint_init(&buf, 0, AV_BPRINT_SIZE_COUNT_ONLY); avfilter_graph_dump_to_buf(&buf, graph); av_bprint_init(&buf, buf.len + 1, buf.len + 1); avfilter_graph_dump_to_buf(&buf, graph); |