Browse Source

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
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
a3acd1d9da
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      libavfilter/graphparser.c

+ 3
- 4
libavfilter/graphparser.c View File

@@ -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;
}



Loading…
Cancel
Save