Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lhomme <robux4@ycbcr.xyz>2018-09-28 10:43:41 +0300
committerSteve Lhomme <robux4@ycbcr.xyz>2018-09-28 13:09:42 +0300
commitd262a6ae9a36aea61daf5af03f246287a30c45dd (patch)
tree16a8abdbb8f219a908a57fcce02bf6fb12373fbf /src/msac.c
parent9a48df2e5794b0378f256b4721789bd9271f8a82 (diff)
replace direct calls to __builtin_clz/ctz with generic functions
Diffstat (limited to 'src/msac.c')
-rw-r--r--src/msac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msac.c b/src/msac.c
index b3ae55d..dbf6ec7 100644
--- a/src/msac.c
+++ b/src/msac.c
@@ -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