aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-24 20:42:29 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-24 20:42:29 +0000
commit4d11beb293e308e6930a7cba23dbbcd04ca38730 (patch)
treea44e567d8d5283e0cfbf7f64bc81f491cb62d69d
parent64b164f44abc232dbb125b36e2d00b54e1531ba7 (diff)
downloadffmpeg-4d11beb293e308e6930a7cba23dbbcd04ca38730.tar.gz
Cosmetical: move statement
Commited in SoC by Vitor Sessak on 2008-05-24 17:17:19 Originally committed as revision 13358 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavfilter/graphparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 2a8a017990..ea2270f935 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -218,7 +218,6 @@ static int link_filter_inouts(AVFilterContext *filter,
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(AVFilterContext *filter,
return -1;
}
+ *currInputs = (*currInputs)->next;
+
if(p->filter) {
if(link_filter(p->filter, p->pad_idx, filter, pad, log_ctx))
return -1;