Commit 76fac073 authored by Michael Niedermayer's avatar Michael Niedermayer

mpegaudiodec: replace pow(2.0,...) by exp2()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c5f0b6bf
......@@ -26,6 +26,7 @@
#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
#include "libavutil/libm.h"
#include "avcodec.h"
#include "get_bits.h"
#include "mathops.h"
......@@ -394,7 +395,7 @@ static av_cold void decode_init_static(void)
for (j = 0; j < 2; j++) {
e = -(j + 1) * ((i + 1) >> 1);
f = pow(2.0, e / 4.0);
f = exp2(e / 4.0);
k = i & 1;
is_table_lsf[j][k ^ 1][i] = FIXR(f);
is_table_lsf[j][k ][i] = FIXR(1.0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment