[FFmpeg-cvslog] r13310 - trunk/libavfilter/graphparser.c
vitor
subversion
Sat May 24 22:40:01 CEST 2008
Author: vitor
Date: Sat May 24 22:40:01 2008
New Revision: 13310
Log:
Even more improvements on whitespaces handling
Commited in SoC by Vitor Sessak on 2008-04-12 10:37:15
Modified:
trunk/libavfilter/graphparser.c
Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c (original)
+++ trunk/libavfilter/graphparser.c Sat May 24 22:40:01 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-cvslog
mailing list