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;
}
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc