Commit 17247593 authored by vitor's avatar vitor

Even more improvements on whitespaces handling

Commited in SoC by Vitor Sessak on 2008-04-12 10:37:15


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13310 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 43e664be
...@@ -233,15 +233,17 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad, ...@@ -233,15 +233,17 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad,
inoutn->pad_idx = pad++; inoutn->pad_idx = pad++;
inoutn->next = *inout; inoutn->next = *inout;
*inout = inoutn; *inout = inoutn;
consume_whitespace(buf);
} }
return pad; return pad;
} }
static const char *skip_inouts(const char *buf) static const char *skip_inouts(const char *buf)
{ {
while (*buf == '[') while (*buf == '[') {
buf += strcspn(buf, "]") + 1; buf += strcspn(buf, "]") + 1;
consume_whitespace(&buf);
}
return buf; 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