[SCM] libav/experimental: Even more improvements on whitespaces handling Commited in SoC by Vitor Sessak on 2008-04-12 10:37:15
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 8095a014a064979616afc80330df3b595a56dd41
Author: Vitor Sessak <vitor1001 at gmail.com>
Date: Sat May 24 20:40:01 2008 +0000
Even more improvements on whitespaces handling
Commited in SoC by Vitor Sessak on 2008-04-12 10:37:15
Originally committed as revision 13310 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 7c19dbb..3d002ab 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -233,15 +233,17 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad,
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;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list