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/avf_concat.c | |
parent | 1e35744a4ce57925d5134cdd1f1e704e9e211270 (diff) | |
download | ffmpeg-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_concat.c')
-rw-r--r-- | libavfilter/avf_concat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c index 5f4e2f74df..10f21cecb7 100644 --- a/libavfilter/avf_concat.c +++ b/libavfilter/avf_concat.c @@ -319,7 +319,7 @@ static av_cold int init(AVFilterContext *ctx) else pad.get_buffer.audio = get_audio_buffer; pad.name = av_asprintf("in%d:%c%d", seg, "va"[type], str); - if ((ret = ff_insert_inpad(ctx, ctx->nb_inputs, &pad)) < 0) { + if ((ret = ff_append_inpad(ctx, &pad)) < 0) { av_freep(&pad.name); return ret; } @@ -334,7 +334,7 @@ static av_cold int init(AVFilterContext *ctx) .config_props = config_output, }; pad.name = av_asprintf("out:%c%d", "va"[type], str); - if ((ret = ff_insert_outpad(ctx, ctx->nb_outputs, &pad)) < 0) { + if ((ret = ff_append_outpad(ctx, &pad)) < 0) { av_freep(&pad.name); return ret; } |