summaryrefslogtreecommitdiff
path: root/libavfilter/f_segment.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/f_segment.c
parent1e35744a4ce57925d5134cdd1f1e704e9e211270 (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/f_segment.c')
-rw-r--r--libavfilter/f_segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_segment.c b/libavfilter/f_segment.c
index f060794cfe..d2c6d44cbe 100644
--- a/libavfilter/f_segment.c
+++ b/libavfilter/f_segment.c
@@ -137,7 +137,7 @@ static av_cold int init(AVFilterContext *ctx, enum AVMediaType type)
if (!pad.name)
return AVERROR(ENOMEM);
- if ((ret = ff_insert_outpad(ctx, i, &pad)) < 0) {
+ if ((ret = ff_append_outpad(ctx, &pad)) < 0) {
av_freep(&pad.name);
return ret;
}