Commit 1d92aefd authored by ods15's avatar ods15

ignore whitespace in ff_eval


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6821 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c1a4a35f
......@@ -382,9 +382,14 @@ AVEvalExpr * ff_parse(char *s, const char **const_name,
char **error){
Parser p;
AVEvalExpr * e;
char w[strlen(s) + 1], * wp = w;
while (*s)
if (!isspace(*s++)) *wp++ = s[-1];
*wp++ = 0;
p.stack_index=100;
p.s= s;
p.s= w;
p.const_name = const_name;
p.func1 = func1;
p.func1_name = func1_name;
......
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