avcodec/dcadec: make dca_dmix_code() 650% faster
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 23 May 2014 19:59:04 +0000 (21:59 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 23 May 2014 20:08:41 +0000 (22:08 +0200)
commit6da06ef6bbc01b713f67ffb94e7697eb2393ebe4
tree08381598641671a378f2c6c0fab2fa142d3c3d7e
parent9340ced47b5b13991619d56c2be86a6604e63f5b
avcodec/dcadec: make dca_dmix_code() 650% faster

This effectively replaces the ldexpf() function call by a multiplication
with a constant.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dcadec.c