diff options
author | Steve Lhomme <robux4@ycbcr.xyz> | 2018-09-28 10:43:41 +0300 |
---|---|---|
committer | Steve Lhomme <robux4@ycbcr.xyz> | 2018-09-28 13:09:42 +0300 |
commit | d262a6ae9a36aea61daf5af03f246287a30c45dd (patch) | |
tree | 16a8abdbb8f219a908a57fcce02bf6fb12373fbf /src/msac.c | |
parent | 9a48df2e5794b0378f256b4721789bd9271f8a82 (diff) |
replace direct calls to __builtin_clz/ctz with generic functions
Diffstat (limited to 'src/msac.c')
-rw-r--r-- | src/msac.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ typedef MsacContext od_ec_dec; static inline int get_msb(unsigned int n) { assert(n != 0); - return 31 ^ __builtin_clz(n); + return 31 ^ clz(n); } #define EC_PROB_SHIFT 6 |