mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 18:55:08 +00:00
7aa9684db3
In WinRT mode, we use CreateThread instead of _beginthreadex. CreateThread takes a LPTHREAD_START_ROUTINE function pointer, which has got the signature DWORD WINAPI ThreadProc(LPVOID). _beginthreadex takes a function with the signature unsigned __stdcall func(void *). DWORD is defined as an unsigned long, which is different type from unsigned int, even if they have the same size on Windows. This fixes build failures with Clang 16 and newer, where function pointer type mismatches are a fatal error by default. Signed-off-by: Martin Storsjö <martin@martin.st> |
||
---|---|---|
.. | ||
aix | ||
atomics | ||
cuda | ||
dispatch_semaphore | ||
djgpp | ||
float | ||
msvcrt | ||
solaris | ||
windows | ||
getopt.c | ||
os2threads.h | ||
strtod.c | ||
va_copy.h | ||
w32dlfcn.h | ||
w32pthreads.h |