1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

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
This commit is contained in:
Vitor Sessak
2008-02-15 22:00:00 +00:00
parent 4f90956596
commit d0e4eba57c

View File

@@ -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;