Commit 42e7f6d7 authored by Stefano Sabatini's avatar Stefano Sabatini

Make parse_inputs() return AVERROR(EINVAL) rather than -1 in case the

link label parsed by parse_link_name() is invalid.

Originally committed as revision 25696 to svn://
parent fbd97184
......@@ -249,7 +249,7 @@ static int parse_inputs(const char **buf, AVFilterInOut **curr_inputs,
AVFilterInOut *match;
if (!name)
return -1;
/* First check if the label is not in the open_outputs list */
match = extract_inout(name, open_outputs);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment