summaryrefslogtreecommitdiff
path: root/libavfilter/vf_program_opencl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_program_opencl.c')
-rw-r--r--libavfilter/vf_program_opencl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_program_opencl.c b/libavfilter/vf_program_opencl.c
index 5f455e9afa..502d797154 100644
--- a/libavfilter/vf_program_opencl.c
+++ b/libavfilter/vf_program_opencl.c
@@ -287,7 +287,7 @@ static av_cold int program_opencl_init(AVFilterContext *avctx)
input.config_props = &ff_opencl_filter_config_input;
- err = ff_insert_inpad(avctx, i, &input);
+ err = ff_append_inpad(avctx, &input);
if (err < 0) {
av_freep(&input.name);
return err;