[FFmpeg-soc] [soc]: r352 - libavfilter/avfilter.c

koorogi subversion at mplayerhq.hu
Sun Jul 8 19:58:45 CEST 2007


Author: koorogi
Date: Sun Jul  8 19:58:45 2007
New Revision: 352

Log:
Actually fail when colorspaces don't match


Modified:
   libavfilter/avfilter.c

Modified: libavfilter/avfilter.c
==============================================================================
--- libavfilter/avfilter.c	(original)
+++ libavfilter/avfilter.c	Sun Jul  8 19:58:45 2007
@@ -142,6 +142,7 @@ int avfilter_link(AVFilterContext *src, 
     link->cur_pic = NULL;
 
     /* find a format both filters support - TODO: auto-insert conversion filter */
+    link->format = -1;
     if(src->filter->outputs[srcpad].query_formats)
         fmts[0] = src->filter->outputs[srcpad].query_formats(link);
     else



More information about the FFmpeg-soc mailing list