diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 9518f8e2d3..ec73838c9f 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -216,7 +216,6 @@ static int link_filter_inouts(AVFilterContext *filter, *currInputs = (*currInputs)->next; av_free(p); } else { - p = *currInputs; *currInputs = (*currInputs)->next; p->filter = filter; p->pad_idx = pad;