mpv/misc
sfan5 1201d59f0b various: replace abort() with MP_ASSERT_UNREACHABLE() where appropriate
In debug mode the macro causes an assertion failure.
In release mode it works differently and tells the compiler that it can
assume the codepath will never execute. For this reason I was conversative
in replacing it, e.g. in mpv-internal code that exhausts all valid values
of an enum or when a condition is clear from directly preceding code.
2023-01-12 22:02:07 +01:00
..
bstr.c bstr: remove unused bstr_splitlines() function 2019-12-23 11:01:56 +01:00
bstr.h bstr: remove unused bstr_splitlines() function 2019-12-23 11:01:56 +01:00
charset_conv.c osx: consistent normalisation when searching for external files 2017-02-02 16:21:04 +01:00
charset_conv.h osx: consistent normalisation when searching for external files 2017-02-02 16:21:04 +01:00
ctype.h Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
dispatch.c dispatch: add strange mechanism for making worker threads responsive 2020-03-05 22:00:50 +01:00
dispatch.h dispatch: add strange mechanism for making worker threads responsive 2020-03-05 22:00:50 +01:00
jni.c misc: add jni helpers 2019-11-19 12:10:26 -08:00
jni.h misc: add jni helpers 2019-11-19 12:10:26 -08:00
json.c json: write NaN/Infinity float values as strings 2019-10-25 00:30:04 +02:00
json.h m_option: pretty print mpv_node for OSD 2017-10-30 15:32:24 +01:00
linked_list.h misc: add linked list helpers 2018-05-24 19:56:35 +02:00
natural_sort.c demux: sort filenames naturally when playing a directory / archive 2019-09-29 01:13:00 +03:00
natural_sort.h demux: sort filenames naturally when playing a directory / archive 2019-09-29 01:13:00 +03:00
node.c various: replace abort() with MP_ASSERT_UNREACHABLE() where appropriate 2023-01-12 22:02:07 +01:00
node.h misc: move some helper code from client.c 2018-05-24 19:56:34 +02:00
random.c misc/random: add xoshiro random number implementation 2022-08-17 10:21:55 -04:00
random.h misc/random: add xoshiro random number implementation 2022-08-17 10:21:55 -04:00
rendezvous.c rendezvous: fix a typo 2018-08-31 11:40:33 +02:00
rendezvous.h Add Plan 9-style barriers 2014-07-26 20:29:48 +02:00
thread_pool.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
thread_pool.h thread_pool: add a helper function 2018-05-24 19:56:35 +02:00
thread_tools.c player: some further cleanup of the mp_cancel crap 2018-05-24 19:56:35 +02:00
thread_tools.h player: some further cleanup of the mp_cancel crap 2018-05-24 19:56:35 +02:00