aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cdxl.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-07-10 21:50:50 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-23 01:37:44 +0200
commit088733414a65813633ec52aa94936302231e329c (patch)
treeac5dac9bf4b5f33ec70561dbba10f747103503d0 /libavcodec/cdxl.c
parent44a9e2dbba3ad3c5543a3e355dd44641eafe0fa8 (diff)
downloadffmpeg-088733414a65813633ec52aa94936302231e329c.tar.gz
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. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 75fd5ce4c1c0b2d96d71c74b650cefaaef519d27) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 27816fb9ef26af1fa820c434079491f155e67471) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cdxl.c')
0 files changed, 0 insertions, 0 deletions