vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Wed Aug 23 11:02:24 2017 +0200| [775e88f6219054616c7291fd3572e2ec58eb9cfb] | committer: Hugo Beauzée-Luyssen
core: Fix float config variables lower bound This is a follow-up of c95d5fbea2122ac471f8aee86ee9f1cafeddeb00 FLT_MIN isn't the minimum floating point value, but the minimum normalized positive value of a float > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=775e88f6219054616c7291fd3572e2ec58eb9cfb --- src/modules/entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/entry.c b/src/modules/entry.c index 9c81b49b9b..29044fa5d4 100644 --- a/src/modules/entry.c +++ b/src/modules/entry.c @@ -166,7 +166,7 @@ static module_config_t *vlc_config_create(vlc_plugin_t *plugin, int type) else if( IsConfigFloatType (type)) { tab->max.f = FLT_MAX; - tab->min.f = FLT_MIN; + tab->min.f = -FLT_MAX; } tab->i_type = type; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
