From d0e4eba57cb773aefeda65c2a795a296e3ea9784 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 15 Feb 2008 22:00:00 +0000 Subject: Make an invalid use of a default callback implementation return an error. Commited in SoC by Bobby Bingham on 2007-08-18 01:45:42 Originally committed as revision 12071 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/defaults.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index 8abdb7e08f..4736c96d5c 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -98,8 +98,7 @@ int avfilter_default_config_output_link(AVFilterLink *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; -- cgit v1.2.3