diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 5b3a5464c2..1ec96b75b3 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -225,10 +225,10 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad, return -1; } - inoutn->type = type; - inoutn->filter = filter; + inoutn->type = type; + inoutn->filter = filter; inoutn->pad_idx = pad++; - inoutn->next = *inout; + inoutn->next = *inout; *inout = inoutn; } return pad;