1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-31 15:59:34 +00:00
mpv/options
wm4 c942178c92 m_config: add an assert for a theoretical issue
Or at least I hope it's theoretical. This function is supposed to unset
any old listeners for the given cache, and the code works only if
there's at most 1. Add a defense break to avoid UB if there's more than
one, and add an assert() to check the assumption that there's at most
one.

The added comment is unrelated.
2019-09-19 20:37:05 +02:00
..
m_config.c m_config: add an assert for a theoretical issue 2019-09-19 20:37:05 +02:00
m_config.h m_config: remove outdated comment 2018-05-31 01:24:51 +03:00
m_option.c m_option: add "B" suffix to human-readable byte numbers 2019-09-19 20:37:05 +02:00
m_option.h m_option: remove an unused field 2018-05-31 01:24:51 +03:00
m_property.c command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
m_property.h command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
options.c aspect: add video margin options 2019-09-19 20:37:05 +02:00
options.h aspect: add video margin options 2019-09-19 20:37:05 +02:00
parse_commandline.c Remove optical disc fancification layers 2019-09-13 17:31:59 +02: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: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
path.c options/path: fix url detection per RFC3986 2019-04-05 20:48:24 +03:00
path.h path: don't access global option struct 2018-05-24 19:56:35 +02:00