mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/7.1
parent
e18b46d95f
commit
b4d9fa6cb9
1 changed files with 7 additions and 4 deletions
Loading…
Reference in new issue