diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-06 04:55:36 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-06 04:14:49 +0000 |
commit | a7186777de9ac6f4970f167204aa966752cee0db (patch) | |
tree | 6ad2ba6fa972f1c6301f76fbcd41f5f7bbbc8c01 /osdep/threads-win32.h | |
parent | 84de84b8aa6023efb3f8fac368d802359657268c (diff) | |
download | mpv-a7186777de9ac6f4970f167204aa966752cee0db.tar.bz2 mpv-a7186777de9ac6f4970f167204aa966752cee0db.tar.xz |
threads: unbreak mpv on builds without asserts
Also remove duplicated macro.
Fixes: #12818 #12820
Diffstat (limited to 'osdep/threads-win32.h')
-rw-r--r-- | osdep/threads-win32.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/osdep/threads-win32.h b/osdep/threads-win32.h index ef661aa53a..2617bcb51b 100644 --- a/osdep/threads-win32.h +++ b/osdep/threads-win32.h @@ -51,9 +51,6 @@ static inline int mp_mutex_init_type_internal(mp_mutex *mutex, enum mp_mutex_typ return 0; } -#define mp_mutex_init_type(mutex, mtype) \ - assert(!mp_mutex_init_type_internal(mutex, mtype)) - static inline int mp_mutex_destroy(mp_mutex *mutex) { if (mutex->use_cs) |