[FFmpeg-cvslog] r13330 - trunk/libavfilter/graphparser.c

vitor subversion
Sat May 24 22:41:06 CEST 2008


Author: vitor
Date: Sat May 24 22:41:06 2008
New Revision: 13330

Log:
Rename another var
Commited in SoC by Vitor Sessak on 2008-04-23 18:39:42


Modified:
   trunk/libavfilter/graphparser.c

Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c	(original)
+++ trunk/libavfilter/graphparser.c	Sat May 24 22:41:06 2008
@@ -334,7 +334,7 @@ static int parse_outputs(const char **bu
 
         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 **bu
             }
 
             *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++;




More information about the ffmpeg-cvslog mailing list