summaryrefslogtreecommitdiff
path: root/libavfilter/graphparser.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-24 20:41:03 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-24 20:41:03 +0000
commitb2ac16dab99e2918b4ec214b984bf0510ca4187b (patch)
tree4cf9d0a6cf364fc81ecff8fb81a8aee6c6441eb4 /libavfilter/graphparser.c
parenteece0cb089c73379d2442170a2967ba60bb6ef8a (diff)
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
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r--libavfilter/graphparser.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index e8f26f456b..a83d1a9346 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -276,7 +276,7 @@ static int parse_inputs(const char **buf, AVFilterInOut **currInputs,
while (**buf == '[') {
char *name;
- AVFilterInOut *p;
+ AVFilterInOut *match;
parse_link_name(buf, &name, log_ctx);
@@ -284,15 +284,15 @@ static int parse_inputs(const char **buf, AVFilterInOut **currInputs,
return -1;
/* 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
filter */
- AVFilterInOut *currlinkn = p;
- if (p->type != LinkTypeOut) {
+ AVFilterInOut *currlinkn = match;
+ if (match->type != LinkTypeOut) {
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;
}
currlinkn->next = *currInputs;