1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
mpv/options
Kacper Michajłow 1805681aab m_option: initialize m_option_value union properly
C standard says that `= {0}` activates and initializes first member of
union. We expect whole union to be zeroed, it is used as default value.

Initialize union with one zeroed default instance to ensure proper init.

Fixes: #12711
2023-10-23 20:33:51 +02:00
..
m_config_core.c m_option: initialize m_option_value union properly 2023-10-23 20:33:51 +02:00
m_config_core.h m_config_core: remove mp_read_option_raw 2023-09-22 14:20:38 +00:00
m_config_frontend.c m_option: initialize m_option_value union properly 2023-10-23 20:33:51 +02:00
m_config_frontend.h various: sort some standard headers 2023-10-20 21:31:09 +02:00
m_config.h options: split m_config.c/h 2020-03-13 16:50:27 +01:00
m_option.c player/command: truncate anything < 1e-4 in pretty printer 2023-10-18 11:34:52 +02:00
m_option.h m_option: initialize m_option_value union properly 2023-10-23 20:33:51 +02:00
m_property.c m_option: initialize m_option_value union properly 2023-10-23 20:33:51 +02:00
m_property.h m_property: add read_sub_validate to check if should be processed 2023-10-14 12:30:46 +02:00
options.c win32: add option to change backdrop style 2023-09-27 14:02:08 +00:00
options.h win32: add option to change backdrop style 2023-09-27 14:02:08 +00:00
parse_commandline.c player: add playlist-path properties 2023-08-13 19:58:20 +00:00
parse_commandline.h
parse_configfile.c options: read config file as stream 2023-04-29 22:34:54 +00:00
parse_configfile.h options: read config file as stream 2023-04-29 22:34:54 +00:00
path.c path: don't treat "hidden" files as extension 2023-10-22 10:41:19 +02:00
path.h player: always write redirect entries for resuming playback 2023-08-28 18:31:17 +00:00