aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/gamma.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2024-09-24 11:44:19 +0300
committerMartin Storsjö <martin@martin.st>2024-09-24 14:00:27 +0300
commitb4d9fa6cb93a3ef8209508b2fb9cd1dc95f03090 (patch)
tree209ab3669a8a784fe96bde1aec22e1171b9a0eed /libswscale/gamma.c
parente18b46d95fadcbaaf450bda9f1871849f2b0c586 (diff)
downloadffmpeg-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