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
pull/126/head
Vitor Sessak 17 years ago
parent 7b4708780c
commit de5985b69f
  1. 4
      libavfilter/avfiltergraph.c

@ -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…
Cancel
Save