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/vf_decimate.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/vf_decimate.c')
-rw-r--r-- | libavfilter/vf_decimate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_decimate.c b/libavfilter/vf_decimate.c index 9ef03ff1a3..f831d9c5a3 100644 --- a/libavfilter/vf_decimate.c +++ b/libavfilter/vf_decimate.c @@ -310,13 +310,13 @@ static av_cold int decimate_init(AVFilterContext *ctx) }; int ret; - if ((ret = ff_insert_inpad(ctx, INPUT_MAIN, &pad)) < 0) + if ((ret = ff_append_inpad(ctx, &pad)) < 0) return ret; if (dm->ppsrc) { pad.name = "clean_src"; pad.config_props = NULL; - if ((ret = ff_insert_inpad(ctx, INPUT_CLEANSRC, &pad)) < 0) + if ((ret = ff_append_inpad(ctx, &pad)) < 0) return ret; } |