summaryrefslogtreecommitdiff
path: root/libavfilter/avf_aphasemeter.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-16 20:48:00 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-17 21:20:59 +0200
commit515e7fbce1cc555d9eaadad798d3d968ff468987 (patch)
tree58e67a3e4d10e2a9af1a6f22170363acb5313df4 /libavfilter/avf_aphasemeter.c
parent1e35744a4ce57925d5134cdd1f1e704e9e211270 (diff)
downloadffmpeg-515e7fbce1cc555d9eaadad798d3d968ff468987.tar.gz
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/avf_aphasemeter.c')
-rw-r--r--libavfilter/avf_aphasemeter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avf_aphasemeter.c b/libavfilter/avf_aphasemeter.c
index a31805f204..bd3ad1ac61 100644
--- a/libavfilter/avf_aphasemeter.c
+++ b/libavfilter/avf_aphasemeter.c
@@ -355,7 +355,7 @@ static av_cold int init(AVFilterContext *ctx)
.name = "out0",
.type = AVMEDIA_TYPE_AUDIO,
};
- ret = ff_insert_outpad(ctx, 0, &pad);
+ ret = ff_append_outpad(ctx, &pad);
if (ret < 0)
return ret;
@@ -365,7 +365,7 @@ static av_cold int init(AVFilterContext *ctx)
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_video_output,
};
- ret = ff_insert_outpad(ctx, 1, &pad);
+ ret = ff_append_outpad(ctx, &pad);
if (ret < 0)
return ret;
}