Commit 3fc878c8 authored by vitor's avatar vitor

Cosmetical: move statement

Commited in SoC by Vitor Sessak on 2008-05-24 17:17:19


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13358 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 571ed4ca
...@@ -218,7 +218,6 @@ static int link_filter_inouts(AVFilterContext *filter, ...@@ -218,7 +218,6 @@ static int link_filter_inouts(AVFilterContext *filter,
while(pad--) { while(pad--) {
AVFilterInOut *p = *currInputs; AVFilterInOut *p = *currInputs;
*currInputs = (*currInputs)->next;
if(!p) { if(!p) {
av_log(log_ctx, AV_LOG_ERROR, av_log(log_ctx, AV_LOG_ERROR,
"Not enough inputs specified for the \"%s\" filter.\n", "Not enough inputs specified for the \"%s\" filter.\n",
...@@ -226,6 +225,8 @@ static int link_filter_inouts(AVFilterContext *filter, ...@@ -226,6 +225,8 @@ static int link_filter_inouts(AVFilterContext *filter,
return -1; return -1;
} }
*currInputs = (*currInputs)->next;
if(p->filter) { if(p->filter) {
if(link_filter(p->filter, p->pad_idx, filter, pad, log_ctx)) if(link_filter(p->filter, p->pad_idx, filter, pad, log_ctx))
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment