[vlc-devel] [PATCH 1/1] codec/dirac: Rewrite libdirac(-research) encoding support
Laurent Aimar
fenrir at via.ecp.fr
Wed Nov 12 20:15:56 CET 2008
On Wed, Nov 12, 2008, Rémi Denis-Courmont wrote:
> Le mardi 11 novembre 2008 20:29:31 Laurent Aimar, vous avez écrit :
> > (var_Get returning -1 for a bool looks like a bug to me)
>
> AFAIK, this will happen in case of "error", although not sure which negative
> number.
The comment was misleading.
var_Get returned 0 but vlc_value_t.b_bool was equal to -1 (if I understand it
correctly).
It seems that no check s done on the default value, to respect range and type.
--
fenrir
More information about the vlc-devel
mailing list