aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/smjpeg.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-07-10 21:50:50 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-11-26 01:37:56 +0100
commit6c36f0b57c6e80b7e5980fc3755c5f396254e622 (patch)
tree67e9ae2e2356e24d3fd71461bfc95592580e854b /libavformat/smjpeg.h
parent10bf3c25591852b2f68cf206a3ffe604bda58275 (diff)
downloadffmpeg-6c36f0b57c6e80b7e5980fc3755c5f396254e622.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>
Diffstat (limited to 'libavformat/smjpeg.h')
0 files changed, 0 insertions, 0 deletions