diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-16 20:48:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-17 21:20:59 +0200 |
commit | 515e7fbce1cc555d9eaadad798d3d968ff468987 (patch) | |
tree | 58e67a3e4d10e2a9af1a6f22170363acb5313df4 /libavfilter/af_afir.c | |
parent | 1e35744a4ce57925d5134cdd1f1e704e9e211270 (diff) |
avfilter/avfilter: Remove unused feature to add pads in the middle
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/af_afir.c')
-rw-r--r-- | libavfilter/af_afir.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |