[FFmpeg-soc] [soc]: r2114 - libavfilter/graphparser.c

vitor subversion at mplayerhq.hu
Thu Apr 10 18:51:23 CEST 2008


Author: vitor
Date: Thu Apr 10 18:51:23 2008
New Revision: 2114

Log:
Simplify

Modified:
   libavfilter/graphparser.c

Modified: libavfilter/graphparser.c
==============================================================================
--- libavfilter/graphparser.c	(original)
+++ libavfilter/graphparser.c	Thu Apr 10 18:51:23 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-soc mailing list