]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_chorus.c
mpegvideo: add deprecated flags to the rc_strategy option
[ffmpeg] / libavfilter / af_chorus.c
index 87c82900970ba40523ff1bab9520f141f4a315c5..29c47ab14a6c86227ae58899dd999f8630fee9d3 100644 (file)
@@ -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);