[FFmpeg-soc] [soc]: r1623 - libavfilter/avfiltergraph.c

koorogi subversion at mplayerhq.hu
Thu Dec 20 21:21:19 CET 2007


Author: koorogi
Date: Thu Dec 20 21:21:19 2007
New Revision: 1623

Log:
10l


Modified:
   libavfilter/avfiltergraph.c

Modified: libavfilter/avfiltergraph.c
==============================================================================
--- libavfilter/avfiltergraph.c	(original)
+++ libavfilter/avfiltergraph.c	Thu Dec 20 21:21:19 2007
@@ -412,9 +412,9 @@ static int query_formats(AVFilterContext
 
                     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;
                 }



More information about the FFmpeg-soc mailing list