diff options
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/graphparser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 103887b11b..bfeecdf81b 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -268,7 +268,9 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad, if(!name) return -1; - handle_link(name, inout, pad++, type, filter); + if(handle_link(name, inout, pad++, type, filter) < 0) + return -1; + consume_whitespace(buf); } return pad; |