History

lavfi/graphdump: Replace the number by macro for bprint init

Replace the number by macro for bprint init.

Jun Zhao committed 8 years ago

Commit 483532b1 parent 9809ac91 file · +1 −1Browse files

Unified · Split

libavfilter/graphdump.c+1−1
@@ -156,7 +156,7 @@ char *avfilter_graph_dump(AVFilterGraph *graph, const char *options) · 155 unmodified lines
156156 AVBPrint buf;
157157 char *dump;
158158
159− av_bprint_init(&buf, 0, 0);
159+ av_bprint_init(&buf, 0, AV_BPRINT_SIZE_COUNT_ONLY);
160160 avfilter_graph_dump_to_buf(&buf, graph);
161161 av_bprint_init(&buf, buf.len + 1, buf.len + 1);
162162 avfilter_graph_dump_to_buf(&buf, graph);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t