mirror of https://git.ffmpeg.org/ffmpeg.git
Rename var
Commited in SoC by Vitor Sessak on 2008-04-23 18:37:42 Originally committed as revision 13329 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
eece0cb089
commit
b2ac16dab9
|
@ -276,7 +276,7 @@ static int parse_inputs(const char **buf, AVFilterInOut **currInputs,
|
||||||
|
|
||||||
while (**buf == '[') {
|
while (**buf == '[') {
|
||||||
char *name;
|
char *name;
|
||||||
AVFilterInOut *p;
|
AVFilterInOut *match;
|
||||||
|
|
||||||
parse_link_name(buf, &name, log_ctx);
|
parse_link_name(buf, &name, log_ctx);
|
||||||
|
|
||||||
|
@ -284,15 +284,15 @@ static int parse_inputs(const char **buf, AVFilterInOut **currInputs,
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
/* First check if the label is not in the openLinks list */
|
/* First check if the label is not in the openLinks list */
|
||||||
p = extract_inout(name, openLinks);
|
match = extract_inout(name, openLinks);
|
||||||
|
|
||||||
if(p) {
|
if(match) {
|
||||||
/* A label of a open link. Make it one of the inputs of the next
|
/* A label of a open link. Make it one of the inputs of the next
|
||||||
filter */
|
filter */
|
||||||
AVFilterInOut *currlinkn = p;
|
AVFilterInOut *currlinkn = match;
|
||||||
if (p->type != LinkTypeOut) {
|
if (match->type != LinkTypeOut) {
|
||||||
av_log(log_ctx, AV_LOG_ERROR,
|
av_log(log_ctx, AV_LOG_ERROR,
|
||||||
"Label \"%s\" appears twice as input!\n", p->name);
|
"Label \"%s\" appears twice as input!\n", match->name);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
currlinkn->next = *currInputs;
|
currlinkn->next = *currInputs;
|
||||||
|
|
Loading…
Reference in New Issue