mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
More simplifying
Commited in SoC by Vitor Sessak on 2008-04-10 18:26:40 Originally committed as revision 13303 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a3acd1d9da
commit
325cb1efb2
@ -206,10 +206,9 @@ static void free_inout(AVFilterInOut *head)
|
|||||||
/**
|
/**
|
||||||
* Parse "[a1][link2] ... [etc]"
|
* Parse "[a1][link2] ... [etc]"
|
||||||
*/
|
*/
|
||||||
static int parse_inouts(const char **buf, AVFilterInOut **inout, int firstpad,
|
static int parse_inouts(const char **buf, AVFilterInOut **inout, int pad,
|
||||||
enum LinkType type, AVFilterContext *filter)
|
enum LinkType type, AVFilterContext *filter)
|
||||||
{
|
{
|
||||||
int pad = firstpad;
|
|
||||||
while (**buf == '[') {
|
while (**buf == '[') {
|
||||||
AVFilterInOut *inoutn = av_malloc(sizeof(AVFilterInOut));
|
AVFilterInOut *inoutn = av_malloc(sizeof(AVFilterInOut));
|
||||||
parse_link_name(buf, &inoutn->name);
|
parse_link_name(buf, &inoutn->name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user