Commit ae78166f authored by vitor's avatar vitor

Improve error handling

Commited in SoC by Vitor Sessak on 2008-04-12 14:32:13


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13316 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7c0eaa2d
...@@ -268,7 +268,9 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad, ...@@ -268,7 +268,9 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad,
if(!name) if(!name)
return -1; return -1;
handle_link(name, inout, pad++, type, filter); if(handle_link(name, inout, pad++, type, filter) < 0)
return -1;
consume_whitespace(buf); consume_whitespace(buf);
} }
return pad; return pad;
......
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