From a3acd1d9da2ccae727c2d0c9c47c6fcc451f0796 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sat, 24 May 2008 20:39:36 +0000 Subject: [PATCH] Simplify Commited in SoC by Vitor Sessak on 2008-04-10 16:51:23 Originally committed as revision 13302 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/graphparser.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 6b01f4965..5d688397e 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -224,10 +224,9 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int firstpad, static const char *skip_inouts(const char *buf) { - while (*buf == '[') { - buf += strcspn(buf, "]"); - buf++; - } + while (*buf == '[') + buf += strcspn(buf, "]") + 1; + return buf; } -- 2.11.0