1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00
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
charset_conv.h
ctype.h
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
linked_list.h
natural_sort.c
natural_sort.h
node.c various: replace abort() with MP_ASSERT_UNREACHABLE() where appropriate 2023-01-12 22:02:07 +01:00
node.h
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.h
thread_pool.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
thread_pool.h
thread_tools.c
thread_tools.h