Commited in SoC by Bobby Bingham on 2007-12-20 20:21:19

Originally committed as revision 12712 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-04-04 20:07:44 +00:00
parent 7b4708780c
commit de5985b69f
1 changed files with 2 additions and 2 deletions

View File

@ -412,9 +412,9 @@ static int query_formats(AVFilterContext *graphctx)
avfilter_graph_add_filter(graphctx, scale);
scale->filter->query_formats(scale);
if(avfilter_merge_formats(scale-> inputs[0]->in_formats,
if(!avfilter_merge_formats(scale-> inputs[0]->in_formats,
scale-> inputs[0]->out_formats) ||
avfilter_merge_formats(scale->outputs[0]->in_formats,
!avfilter_merge_formats(scale->outputs[0]->in_formats,
scale->outputs[0]->out_formats))
return -1;
}