[FFmpeg-soc] [soc]: r2204 - libavfilter/graphparser.c

vitor subversion at mplayerhq.hu
Sat May 24 19:17:19 CEST 2008


Author: vitor
Date: Sat May 24 19:17:19 2008
New Revision: 2204

Log:
Cosmetical: move statement

Modified:
   libavfilter/graphparser.c

Modified: libavfilter/graphparser.c
==============================================================================
--- libavfilter/graphparser.c	(original)
+++ libavfilter/graphparser.c	Sat May 24 19:17:19 2008
@@ -218,7 +218,6 @@ static int link_filter_inouts(AVFilterCo
 
     while(pad--) {
         AVFilterInOut *p = *currInputs;
-        *currInputs = (*currInputs)->next;
         if(!p) {
             av_log(log_ctx, AV_LOG_ERROR,
                    "Not enough inputs specified for the \"%s\" filter.\n",
@@ -226,6 +225,8 @@ static int link_filter_inouts(AVFilterCo
             return -1;
         }
 
+        *currInputs = (*currInputs)->next;
+
         if(p->filter) {
             if(link_filter(p->filter, p->pad_idx, filter, pad, log_ctx))
                 return -1;



More information about the FFmpeg-soc mailing list