diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 454704710b..f318984397 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -242,7 +242,7 @@ static int link_filter_inouts(AVFilterContext *filt_ctx, } else { p->filter_ctx = filt_ctx; p->pad_idx = pad; - insert_inout(open_inputs, p); + append_inout(open_inputs, &p); } }