mpv/options
wm4 5a81de59a8 m_option: attempt to fix two rounding issues
Since double has a mantissa too small to hold INT64_MAX in full
precision, converting INT64_MAX to double rounds up. Insert some casts
to silence corresponding warnings (as shown by clang 11).

Also, the comparison in multiply_int64() was incorrect (I think...),
because if v==(double)INT64_MAX, then v==(1<<64), which cannot be
represented as int64_t.

There are probably better ways to solve this.
2020-03-18 20:19:13 +01:00
..
m_config.h options: split m_config.c/h 2020-03-13 16:50:27 +01:00
m_config_core.c options: more pushing code around 2020-03-13 16:50:27 +01:00
m_config_core.h options: more pushing code around 2020-03-13 16:50:27 +01:00
m_config_frontend.c options: change how option range min/max is handled 2020-03-13 17:34:46 +01:00
m_config_frontend.h options: more pushing code around 2020-03-13 16:50:27 +01:00
m_option.c m_option: attempt to fix two rounding issues 2020-03-18 20:19:13 +01:00
m_option.h options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
m_property.c command: disable edition switching if there are no editions 2020-03-14 01:32:27 +01:00
m_property.h command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
options.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
options.h options: introduce bool option type, use it for --fullscreen 2020-03-14 02:23:38 +01:00
parse_commandline.c options: split m_config.c/h 2020-03-13 16:50:27 +01:00
parse_commandline.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
parse_configfile.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.h options: split m_config.c/h 2020-03-13 16:50:27 +01:00
path.c path: add mp_path_is_absolute() 2020-02-06 14:14:35 +01:00
path.h path: add mp_path_is_absolute() 2020-02-06 14:14:35 +01:00