diff options
Diffstat (limited to 'libavfilter/af_chorus.c')
-rw-r--r-- | libavfilter/af_chorus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_chorus.c b/libavfilter/af_chorus.c index 87c8290097..29c47ab14a 100644 --- a/libavfilter/af_chorus.c +++ b/libavfilter/af_chorus.c @@ -247,7 +247,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) if (av_frame_is_writable(frame)) { out_frame = frame; } else { - out_frame = ff_get_audio_buffer(inlink, frame->nb_samples); + out_frame = ff_get_audio_buffer(ctx->outputs[0], frame->nb_samples); if (!out_frame) { av_frame_free(&frame); return AVERROR(ENOMEM); |