Commit a3acd1d9 authored by Vitor Sessak's avatar Vitor Sessak

Simplify

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

Originally committed as revision 13302 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 55672c83
......@@ -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