Commit 7a57c8d9 authored by Vitor Sessak's avatar Vitor Sessak

More improvements on the handling of whitespaces

Commited in SoC by Vitor Sessak on 2008-04-12 10:34:48

Originally committed as revision 13309 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a78f2ccd
...@@ -263,12 +263,13 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, ...@@ -263,12 +263,13 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
AVFilterContext *last_filt = NULL; AVFilterContext *last_filt = NULL;
consume_whitespace(&filters);
do { do {
AVFilterContext *filter; AVFilterContext *filter;
int oldpad = pad; int oldpad = pad;
const char *inouts = filters; const char *inouts;
consume_whitespace(&filters);
inouts = filters;
// We need to parse the inputs of the filter after we create it, so // We need to parse the inputs of the filter after we create it, so
// skip it by now // skip it by now
...@@ -295,6 +296,9 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, ...@@ -295,6 +296,9 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
} }
pad = parse_inouts(&filters, &inout, 0, LinkTypeOut, filter); pad = parse_inouts(&filters, &inout, 0, LinkTypeOut, filter);
consume_whitespace(&filters);
chr = *filters++; chr = *filters++;
index++; index++;
last_filt = filter; last_filt = filter;
......
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