Commit 4d11beb2 authored by Vitor Sessak's avatar Vitor Sessak

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
parent 64b164f4
...@@ -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