diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-05-24 20:41:06 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-05-24 20:41:06 +0000 |
commit | 7baa62108a0fbb71bfc6e13346845d5ea8ef0fb7 (patch) | |
tree | f6b995a51c304678b66f3f574e42a12b4c33de34 | |
parent | b2ac16dab99e2918b4ec214b984bf0510ca4187b (diff) | |
download | ffmpeg-7baa62108a0fbb71bfc6e13346845d5ea8ef0fb7.tar.gz |
Rename another var
Commited in SoC by Vitor Sessak on 2008-04-23 18:39:42
Originally committed as revision 13330 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavfilter/graphparser.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index a83d1a9346..390c79c0d2 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -334,7 +334,7 @@ static int parse_outputs(const char **buf, AVFilterInOut **currInputs, if(match) { /* A label of a open link. Link it. */ - AVFilterInOut *p = *currInputs; + AVFilterInOut *input = *currInputs; if (match->type != LinkTypeIn) { av_log(log_ctx, AV_LOG_ERROR, "Label \"%s\" appears twice as output!\n", match->name); @@ -342,19 +342,19 @@ static int parse_outputs(const char **buf, AVFilterInOut **currInputs, } *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) return -1; av_free(match); - av_free(p); + av_free(input); } else { /* Not in the list, so add the first input as a openLink */ - AVFilterInOut *p = *currInputs; + AVFilterInOut *input = *currInputs; *currInputs = (*currInputs)->next; - p->next = *openLinks; - p->type = LinkTypeOut; - p->name = name; - *openLinks = p; + input->next = *openLinks; + input->type = LinkTypeOut; + input->name = name; + *openLinks = input; } consume_whitespace(buf); pad++; |