[FFmpeg-cvslog] r11984 - trunk/libavfilter/avfilter.c

vitor subversion
Fri Feb 15 22:36:22 CET 2008


Author: vitor
Date: Fri Feb 15 22:36:21 2008
New Revision: 11984

Log:
Actually fail when colorspaces don't match

Commited in SoC by Bobby Bingham on 2007-07-08 17:58:45


Modified:
   trunk/libavfilter/avfilter.c

Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c	(original)
+++ trunk/libavfilter/avfilter.c	Fri Feb 15 22:36:21 2008
@@ -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-cvslog mailing list