]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_adelay.c
avutil/log: use thread wrappers for the locking functionality
[ffmpeg] / libavfilter / af_adelay.c
index 983f089c21bcfb7cea50e0eb3c03939f4a43f64c..d6d81ba7d803f4d9709b91188961e2730bac8bc7 100644 (file)
@@ -192,7 +192,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
     if (ctx->is_disabled || !s->delays)
         return ff_filter_frame(ctx->outputs[0], frame);
 
-    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);