diff options
author | Martin Storsjö <martin@martin.st> | 2024-09-24 11:44:19 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2024-09-24 14:00:27 +0300 |
commit | b4d9fa6cb93a3ef8209508b2fb9cd1dc95f03090 (patch) | |
tree | 209ab3669a8a784fe96bde1aec22e1171b9a0eed /libswscale/gamma.c | |
parent | e18b46d95fadcbaaf450bda9f1871849f2b0c586 (diff) | |
download | ffmpeg-b4d9fa6cb93a3ef8209508b2fb9cd1dc95f03090.tar.gz |
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>
Diffstat (limited to 'libswscale/gamma.c')
0 files changed, 0 insertions, 0 deletions