summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-07-10 21:59:32 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-07-10 23:13:30 +0200
commit1410eeb6ea6bc5784e40032430afcdf54a79aedb (patch)
tree8261c09faab14c33058c1d29f79c35fb05905855 /libavdevice
parent872fab4a3df48e7e6484333ee2228c684e319634 (diff)
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 4eb4bb3 without updating the position. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavdevice')
0 files changed, 0 insertions, 0 deletions