[SCM] libav/experimental: More improvements on the handling of whitespaces Commited in SoC by Vitor Sessak on 2008-04-12 10:34:48
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:21:22 UTC 2013
The following commit has been merged in the experimental branch:
commit 7a57c8d9adf45c6665f121113c8d439343dc089c
Author: Vitor Sessak <vitor1001 at gmail.com>
Date: Sat May 24 20:39:57 2008 +0000
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
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 49a8bb1..7c19dbb 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -263,12 +263,13 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
AVFilterContext *last_filt = NULL;
- consume_whitespace(&filters);
-
do {
AVFilterContext *filter;
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
// skip it by now
@@ -295,6 +296,9 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
}
pad = parse_inouts(&filters, &inout, 0, LinkTypeOut, filter);
+
+ consume_whitespace(&filters);
+
chr = *filters++;
index++;
last_filt = filter;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list