[FFmpeg-soc] [soc]: r2123 - libavfilter/graphparser.c
vitor
subversion at mplayerhq.hu
Sat Apr 12 12:37:15 CEST 2008
Author: vitor
Date: Sat Apr 12 12:37:15 2008
New Revision: 2123
Log:
Even more improvements on whitespaces handling
Modified:
libavfilter/graphparser.c
Modified: libavfilter/graphparser.c
==============================================================================
--- libavfilter/graphparser.c (original)
+++ libavfilter/graphparser.c Sat Apr 12 12:37:15 2008
@@ -233,15 +233,17 @@ static int parse_inouts(const char **buf
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;
}
More information about the FFmpeg-soc
mailing list