mpv/misc
Kacper Michajłow d3941f235a bstr: change bstr0_s to bstr0_lit, restrict it only for string literals
Allows to avoid non-portable strlen usage. Also avoid "initializer
element is not constant" warnings on older GCC that doesn't like
explicit type specification in aggregate initialization.

Co-authored-by: NRK <nrk@disroot.org>
Co-authored-by: nanahi <130121847+na-na-hi@users.noreply.github.com>
2024-04-08 02:06:06 +02:00
..
bstr.c misc/bstr: add bstr_to_wchar for win32 2024-03-19 19:58:09 +01:00
bstr.h bstr: change bstr0_s to bstr0_lit, restrict it only for string literals 2024-04-08 02:06:06 +02:00
charset_conv.c charset_conv: suppress unused-label warning 2023-10-19 14:03:23 +00: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 mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
dispatch.h dispatch: add strange mechanism for making worker threads responsive 2020-03-05 22:00:50 +01:00
io_utils.c osdep/io: move I/O utility functions to misc/io_utils 2024-02-23 21:35:57 +01:00
io_utils.h osdep/io: move I/O utility functions to misc/io_utils 2024-02-23 21:35:57 +01:00
jni.c misc/jni: reduce duplication in mapping struct 2024-02-28 16:11:54 +01:00
jni.h misc/jni: reduce duplication in mapping struct 2024-02-28 16:11:54 +01:00
json.c misc/json: don't wrap top-level pretty strings/infs in quotes 2023-01-28 14:20:20 -06:00
json.h json: unify json_parse depth to MAX_JSON_DEPTH=50 2023-07-08 11:36:15 +02:00
language.c misc: add language-matching utilities 2023-06-25 11:01:58 +02:00
language.h osdep: add mp_get_user_langs 2023-06-25 11:01:58 +02: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 misc/node: add bstr-based variants for map_get() and map_add() 2023-01-28 14:20:20 -06:00
node.h misc/node: add bstr-based variants for map_get() and map_add() 2023-01-28 14:20:20 -06:00
path_utils.c options/path: move path utility functions to misc/path_utils 2024-02-23 21:35:57 +01:00
path_utils.h options/path: move path utility functions to misc/path_utils 2024-02-23 21:35:57 +01:00
random.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
random.h various: fix various typos in the code base 2023-03-28 19:29:44 +00:00
rendezvous.c various: replace dead links in comments 2024-02-11 04:01:24 +00:00
rendezvous.h Add Plan 9-style barriers 2014-07-26 20:29:48 +02:00
thread_pool.c timer: remove unnecesary time conversions 2023-11-05 17:36:17 +00:00
thread_pool.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
thread_tools.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
thread_tools.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
uuid.c meson: include our local copy of libavutil uuid if ffmpeg is too old 2023-09-04 15:22:20 -07:00
uuid.h misc: add copy of uuid from ffmpeg 2023-09-04 15:22:20 -07:00