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
pull/126/head
Vitor Sessak 17 years ago
parent 4f90956596
commit d0e4eba57c
  1. 3
      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;

Loading…
Cancel
Save