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;
}
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc