History

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

Replace the number by macro for bprint init.

Jun Zhao committed 8 years ago

Commit 9809ac91 parent e4d14b01 file · +1 −1Browse files

Unified · Split

libavfilter/af_amerge.c+1−1
@@ -166,7 +166,7 @@ static int config_output(AVFilterLink *outlink) · 165 unmodified lines
166166 outlink->sample_rate = ctx->inputs[0]->sample_rate;
167167 outlink->time_base = ctx->inputs[0]->time_base;
168168
169− av_bprint_init(&bp, 0, 1);
169+ av_bprint_init(&bp, 0, AV_BPRINT_SIZE_AUTOMATIC);
170170 for (i = 0; i < s->nb_inputs; i++) {
171171 av_bprintf(&bp, "%sin%d:", i ? " + " : "", i);
172172 av_bprint_channel_layout(&bp, -1, ctx->inputs[i]->channel_layout);

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