git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a57c8d
)
Even more improvements on whitespaces handling
author
Vitor Sessak
<vitor1001@gmail.com>
Sat, 24 May 2008 20:40:01 +0000
(20:40 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Sat, 24 May 2008 20:40:01 +0000
(20:40 +0000)
Commited in SoC by Vitor Sessak on 2008-04-12 10:37:15
Originally committed as revision 13310 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/graphparser.c
patch
|
blob
|
history
diff --git
a/libavfilter/graphparser.c
b/libavfilter/graphparser.c
index
7c19dbb
..
3d002ab
100644
(file)
--- a/
libavfilter/graphparser.c
+++ b/
libavfilter/graphparser.c
@@
-233,15
+233,17
@@
static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad,
inoutn->pad_idx = pad++;
inoutn->next = *inout;
*inout = inoutn;
+ consume_whitespace(buf);
}
return pad;
}
static const char *skip_inouts(const char *buf)
{
- while (*buf == '[')
+ while (*buf == '[')
{
buf += strcspn(buf, "]") + 1;
-
+ consume_whitespace(&buf);
+ }
return buf;
}