From 515e7fbce1cc555d9eaadad798d3d968ff468987 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 16 Aug 2021 20:48:00 +0200 Subject: avfilter/avfilter: Remove unused feature to add pads in the middle Reviewed-by: Nicolas George Signed-off-by: Andreas Rheinhardt --- libavfilter/af_headphone.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/af_headphone.c') diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c index f3543fafb6..d5b0d84052 100644 --- a/libavfilter/af_headphone.c +++ b/libavfilter/af_headphone.c @@ -652,7 +652,7 @@ static av_cold int init(AVFilterContext *ctx) .type = AVMEDIA_TYPE_AUDIO, .config_props = config_input, }; - if ((ret = ff_insert_inpad(ctx, 0, &pad)) < 0) + if ((ret = ff_append_inpad(ctx, &pad)) < 0) return ret; if (!s->map) { @@ -670,7 +670,7 @@ static av_cold int init(AVFilterContext *ctx) }; if (!name) return AVERROR(ENOMEM); - if ((ret = ff_insert_inpad(ctx, i + 1, &pad)) < 0) { + if ((ret = ff_append_inpad(ctx, &pad)) < 0) { av_freep(&pad.name); return ret; } -- cgit v1.2.3