Commit a2e4b4e9 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_compand: some more cosmetics to decrease difference with qatar

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 8f946ac8
...@@ -287,8 +287,8 @@ static int compand_drain(AVFilterLink *outlink) ...@@ -287,8 +287,8 @@ static int compand_drain(AVFilterLink *outlink)
AVFilterContext *ctx = outlink->src; AVFilterContext *ctx = outlink->src;
CompandContext *s = ctx->priv; CompandContext *s = ctx->priv;
const int channels = outlink->channels; const int channels = outlink->channels;
int chan, i, dindex;
AVFrame *frame = NULL; AVFrame *frame = NULL;
int chan, i, dindex;
/* 2048 is to limit output frame size during drain */ /* 2048 is to limit output frame size during drain */
frame = ff_get_audio_buffer(outlink, FFMIN(2048, s->delay_count)); frame = ff_get_audio_buffer(outlink, FFMIN(2048, s->delay_count));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment