diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-07-10 21:50:50 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-07-11 00:00:36 +0200 |
commit | 75fd5ce4c1c0b2d96d71c74b650cefaaef519d27 (patch) | |
tree | 7d905ca6ffbbd8a377ad7487ea22febf0a368cb3 /libavformat | |
parent | 8fca37d5f874e0d82cbc43faab2bf9fea12d194e (diff) | |
download | ffmpeg-75fd5ce4c1c0b2d96d71c74b650cefaaef519d27.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>
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions