]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_flanger.c
avfilter/vf_convolution: disable fast path if rdiv/bias are different from defaults
[ffmpeg] / libavfilter / af_flanger.c
index a92367c97a3913906b8349478972ba5888c5ee86..b7497a12eda7ee76425482c6b4b41ab6b67f13e8 100644 (file)
@@ -148,7 +148,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);