]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_vibrato.c
avfilter/af_channelsplit: add channels option
[ffmpeg] / libavfilter / af_vibrato.c
index c7691f2f2a8ee68f131ac44bb025ece040fc40fb..22bbab6239b950c8a9aecc8c4fe0cc403d80f708 100644 (file)
@@ -63,7 +63,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
     if (av_frame_is_writable(in)) {
         out = in;
     } else {
-        out = ff_get_audio_buffer(inlink, in->nb_samples);
+        out = ff_get_audio_buffer(outlink, in->nb_samples);
         if (!out) {
             av_frame_free(&in);
             return AVERROR(ENOMEM);