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:
authorJanne Grunau <janne-vlc@jannau.net>2018-11-14 20:42:38 +0300
committerJanne Grunau <janne-vlc@jannau.net>2018-11-17 02:03:28 +0300
commit623132aca27c4d637b25c098f8b43d5e4eaeda7a (patch)
tree42e46b6a35c1b770238847b93c1d1757a19eac2e
parent014dbe01c9229a4e1fe8efa098ec3a42634d3735 (diff)
checkasm: fix undefined signed int left shift by 31 in loopfilter test
-rw-r--r--tests/checkasm/loopfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/loopfilter.c b/tests/checkasm/loopfilter.c
index 60299be..8e13cb1 100644
--- a/tests/checkasm/loopfilter.c
+++ b/tests/checkasm/loopfilter.c
@@ -141,7 +141,7 @@ static void check_lpf_sb(loopfilter_sb_fn fn, const char *const name,
for (int j = 0; j < n_blks; j++) {
const int idx = rand() % (i + 2);
- if (idx) vmask[idx - 1] |= 1 << j;
+ if (idx) vmask[idx - 1] |= 1U << j;
if (dir) {
l[j][lf_idx] = rand() & 63;
l[j + 32][lf_idx] = rand() & 63;