Commit d2b9df4b authored by vitor's avatar vitor

Simplify

Commited in SoC by Vitor Sessak on 2008-04-10 16:51:23


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13302 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f7d3b671
......@@ -224,10 +224,9 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int firstpad,
static const char *skip_inouts(const char *buf)
{
while (*buf == '[') {
buf += strcspn(buf, "]");
buf++;
}
while (*buf == '[')
buf += strcspn(buf, "]") + 1;
return buf;
}
......
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