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_afir.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavfilter/af_afir.c') diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c index 8cbdf81df4..d3868a7f2e 100644 --- a/libavfilter/af_afir.c +++ b/libavfilter/af_afir.c @@ -836,7 +836,7 @@ static av_cold int init(AVFilterContext *ctx) .type = AVMEDIA_TYPE_AUDIO, }; - ret = ff_insert_inpad(ctx, 0, &pad); + ret = ff_append_inpad(ctx, &pad); if (ret < 0) return ret; @@ -849,7 +849,7 @@ static av_cold int init(AVFilterContext *ctx) if (!pad.name) return AVERROR(ENOMEM); - ret = ff_insert_inpad(ctx, n + 1, &pad); + ret = ff_append_inpad(ctx, &pad); if (ret < 0) { av_freep(&pad.name); return ret; @@ -862,7 +862,7 @@ static av_cold int init(AVFilterContext *ctx) .config_props = config_output, }; - ret = ff_insert_outpad(ctx, 0, &pad); + ret = ff_append_outpad(ctx, &pad); if (ret < 0) return ret; @@ -873,7 +873,7 @@ static av_cold int init(AVFilterContext *ctx) .config_props = config_video, }; - ret = ff_insert_outpad(ctx, 1, &vpad); + ret = ff_append_outpad(ctx, &vpad); if (ret < 0) return ret; } -- cgit v1.2.3