This commit is contained in:
Even Rouault 2022-02-10 14:30:13 +01:00
parent 883c31dbe0
commit 1462e9403f
No known key found for this signature in database
GPG Key ID: 33EBBFC47B3DD87D
1 changed files with 2 additions and 1 deletions

View File

@ -801,7 +801,8 @@ static void opj_idwt3_v_cas0(OPJ_INT32* tmp,
opj_int_add_no_overflow(opj_int_add_no_overflow(d1c, d1n), 2) >> 2); opj_int_add_no_overflow(opj_int_add_no_overflow(d1c, d1n), 2) >> 2);
tmp[i ] = s0c; tmp[i ] = s0c;
tmp[i + 1] = d1c + ((s0c + s0n) >> 1); tmp[i + 1] = opj_int_add_no_overflow(d1c, opj_int_add_no_overflow(s0c,
s0n) >> 1);
} }
tmp[i] = s0n; tmp[i] = s0n;