mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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
This commit is contained in:
parent
55672c8368
commit
a3acd1d9da
@ -224,10 +224,9 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int firstpad,
|
|||||||
|
|
||||||
static const char *skip_inouts(const char *buf)
|
static const char *skip_inouts(const char *buf)
|
||||||
{
|
{
|
||||||
while (*buf == '[') {
|
while (*buf == '[')
|
||||||
buf += strcspn(buf, "]");
|
buf += strcspn(buf, "]") + 1;
|
||||||
buf++;
|
|
||||||
}
|
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user