mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-04 13:53:26 +00:00
Improve error handling
Commited in SoC by Vitor Sessak on 2008-04-12 14:32:13 Originally committed as revision 13316 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a4501887e4
commit
7693be9232
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user