diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-05-24 20:39:36 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-05-24 20:39:36 +0000 |
commit | a3acd1d9da2ccae727c2d0c9c47c6fcc451f0796 (patch) | |
tree | 60e5900fa6b8c8b6c7581c1b01948d7da3c64a06 | |
parent | 55672c83684c8f9207510358f92499d6682de647 (diff) |
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
-rw-r--r-- | libavfilter/graphparser.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 6b01f49650..5d688397e8 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; } |