From 1b20853fb3e2c4879cdecf2414a2d68760df1149 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 15 Aug 2021 21:33:25 +0200 Subject: avfilter/internal: Factor out executing a filter's execute_func The current way of doing it involves writing the ctx parameter twice. Reviewed-by: Nicolas George Signed-off-by: Andreas Rheinhardt --- libavfilter/af_anlmdn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/af_anlmdn.c') diff --git a/libavfilter/af_anlmdn.c b/libavfilter/af_anlmdn.c index 58cbf8fab1..408e35fb63 100644 --- a/libavfilter/af_anlmdn.c +++ b/libavfilter/af_anlmdn.c @@ -309,7 +309,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) if (ret < 0) break; - ctx->internal->execute(ctx, filter_channel, out, NULL, inlink->channels); + ff_filter_execute(ctx, filter_channel, out, NULL, inlink->channels); av_audio_fifo_drain(s->fifo, s->H); -- cgit v1.2.3