[FFmpeg-cvslog] r12071 - trunk/libavfilter/defaults.c
vitor
subversion
Fri Feb 15 23:00:00 CET 2008
Author: vitor
Date: Fri Feb 15 23:00:00 2008
New Revision: 12071
Log:
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
Modified:
trunk/libavfilter/defaults.c
Modified: trunk/libavfilter/defaults.c
==============================================================================
--- trunk/libavfilter/defaults.c (original)
+++ trunk/libavfilter/defaults.c Fri Feb 15 23:00:00 2008
@@ -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-cvslog
mailing list