Commit a29dc6c8 authored by vitor's avatar vitor

Rename another var

Commited in SoC by Vitor Sessak on 2008-04-23 18:39:42


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13330 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e79cc8c1
...@@ -334,7 +334,7 @@ static int parse_outputs(const char **buf, AVFilterInOut **currInputs, ...@@ -334,7 +334,7 @@ static int parse_outputs(const char **buf, AVFilterInOut **currInputs,
if(match) { if(match) {
/* A label of a open link. Link it. */ /* A label of a open link. Link it. */
AVFilterInOut *p = *currInputs; AVFilterInOut *input = *currInputs;
if (match->type != LinkTypeIn) { if (match->type != LinkTypeIn) {
av_log(log_ctx, AV_LOG_ERROR, av_log(log_ctx, AV_LOG_ERROR,
"Label \"%s\" appears twice as output!\n", match->name); "Label \"%s\" appears twice as output!\n", match->name);
...@@ -342,19 +342,19 @@ static int parse_outputs(const char **buf, AVFilterInOut **currInputs, ...@@ -342,19 +342,19 @@ static int parse_outputs(const char **buf, AVFilterInOut **currInputs,
} }
*currInputs = (*currInputs)->next; *currInputs = (*currInputs)->next;
if(link_filter(p->filter, p->pad_idx, if(link_filter(input->filter, input->pad_idx,
match->filter, match->pad_idx, log_ctx) < 0) match->filter, match->pad_idx, log_ctx) < 0)
return -1; return -1;
av_free(match); av_free(match);
av_free(p); av_free(input);
} else { } else {
/* Not in the list, so add the first input as a openLink */ /* Not in the list, so add the first input as a openLink */
AVFilterInOut *p = *currInputs; AVFilterInOut *input = *currInputs;
*currInputs = (*currInputs)->next; *currInputs = (*currInputs)->next;
p->next = *openLinks; input->next = *openLinks;
p->type = LinkTypeOut; input->type = LinkTypeOut;
p->name = name; input->name = name;
*openLinks = p; *openLinks = input;
} }
consume_whitespace(buf); consume_whitespace(buf);
pad++; pad++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment