From 03718f0b3d4df4b5d900e616264c42023206a0d8 Mon Sep 17 00:00:00 2001 From: Gregor Weiss Date: Wed, 9 Oct 2024 12:51:56 +0200 Subject: [PATCH] bug fix in call to calc_xi macro --- src/library/tier1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/tier1.c b/src/library/tier1.c index 33f3171..6df259b 100755 --- a/src/library/tier1.c +++ b/src/library/tier1.c @@ -1488,7 +1488,7 @@ significance_propagation_dec_pass(bwc_coder *const coder, const int8 b) { stripe[k].bit[b] |= (bit << l); - calc_xi(stripe, bit_mask, l, k, xi_h, xi_v, SIG2XI); + calc_xi(stripe, bit_mask, k, l, xi_h, xi_v, SIG2XI); stripe[k].xi |= ((XI2CONT[(xi_h << 2) | xi_v][1] ^ mq_bit_decode(coder->bitcoder, XI2CONT[(xi_h << 2) | xi_v][0])) << l);