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
cuda
dispatch_semaphore
djgpp
float
msvcrt
solaris
stdbit
windows
getopt.c
os2threads.h
strtod.c
va_copy.h
w32dlfcn.h
w32pthreads.h