10l
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:
parent
7b4708780c
commit
de5985b69f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user