Skip to content
Snippets Groups Projects
Commit 1410eeb6 authored by Andreas Cadhalpun's avatar Andreas Cadhalpun Committed by Luca Barbato
Browse files

imc: Use correct position for flcoeffs2 calculation


flcoeffs2[pos] should be the log2 of flcoeffs1[pos].
flcoeffs1[0] can be 0 here, thus flcoeffs2[pos] gets set to -inf,
causing problems further down.

This seems to have been copied from imc_decode_level_coefficients in
commit 4eb4bb3a without updating the position.

Signed-off-by: default avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
parent 872fab4a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment