[FFmpeg-soc] [soc]: r944 - libavfilter/defaults.c

koorogi subversion at mplayerhq.hu
Sat Aug 18 03:45:42 CEST 2007


Author: koorogi
Date: Sat Aug 18 03:45:42 2007
New Revision: 944

Log:
Make an invalid use of a default callback implementation return an error.


Modified:
   libavfilter/defaults.c

Modified: libavfilter/defaults.c
==============================================================================
--- libavfilter/defaults.c	(original)
+++ libavfilter/defaults.c	Sat Aug 18 03:45:42 2007
@@ -98,8 +98,7 @@ int avfilter_default_config_output_link(
     } else {
         /* XXX: any non-simple filter which would cause this branch to be taken
          * really should implement its own config_props() for this link. */
-        link->w =
-        link->h = 0;
+        return -1;
     }
 
     return 0;



More information about the FFmpeg-soc mailing list