Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-25 00:39:36 +0400
committerVitor Sessak <vitor1001@gmail.com>2008-05-25 00:39:36 +0400
commita3acd1d9da2ccae727c2d0c9c47c6fcc451f0796 (patch)
tree60e5900fa6b8c8b6c7581c1b01948d7da3c64a06 /libavfilter/graphparser.c
parent55672c83684c8f9207510358f92499d6682de647 (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
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r--libavfilter/graphparser.c7
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;
}