[FFmpeg-cvslog] r13302 - trunk/libavfilter/graphparser.c

vitor subversion
Sat May 24 22:39:37 CEST 2008


Author: vitor
Date: Sat May 24 22:39:36 2008
New Revision: 13302

Log:
Simplify
Commited in SoC by Vitor Sessak on 2008-04-10 16:51:23


Modified:
   trunk/libavfilter/graphparser.c

Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c	(original)
+++ trunk/libavfilter/graphparser.c	Sat May 24 22:39:36 2008
@@ -224,10 +224,9 @@ static int parse_inouts(const char **buf
 
 static const char *skip_inouts(const char *buf)
 {
-    while (*buf == '[') {
-        buf += strcspn(buf, "]");
-        buf++;
-    }
+    while (*buf == '[')
+        buf += strcspn(buf, "]") + 1;
+
     return buf;
 }
 




More information about the ffmpeg-cvslog mailing list