1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
FFmpeg/compat
Martin Storsjö b4d9fa6cb9 compat: Fix the fallback definition of stdc_trailing_zeros
While shifting "value" to left, we would iterate through all bits
of an unsigned long long, while we only expect to count through
"size * CHAR_BIT" bits; instead shift bits to the right and just
count the trailing zeros.

This fixes fate with MSVC.

Signed-off-by: Martin Storsjö <martin@martin.st>
2024-09-24 14:00:27 +03:00
..
aix
atomics compat: drop gcc, suncc, and pthreads stdatomic emulation 2024-09-23 17:08:46 +02:00
cuda compat/cuda: switch from powf to __powf intrinsic 2022-09-03 20:27:34 +02:00
dispatch_semaphore
djgpp
float
msvcrt fix broken links to msdn documentation 2021-05-13 09:13:03 +10:00
solaris
stdbit compat: Fix the fallback definition of stdc_trailing_zeros 2024-09-24 14:00:27 +03:00
windows compat: Use '-' instead of '/' for rc.exe options 2023-02-13 13:49:40 +02:00
getopt.c
os2threads.h
strtod.c
va_copy.h
w32dlfcn.h avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
w32pthreads.h configure: Set WIN32_LEAN_AND_MEAN at configure time 2023-08-14 22:57:28 +03:00