bug fix in call to calc_xi macro

This commit is contained in:
Gregor Weiss 2024-10-09 12:51:56 +02:00
parent 9513edb181
commit 03718f0b3d
Signed by: Gregor Weiss
GPG key ID: 61E170A8BBFE5756

View file

@ -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);