Commit 26ac80d2 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

lavc/imc: replace pow(10,x) by ff_exp10(x)

Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 717eeb77
......@@ -137,8 +137,8 @@ static av_cold void iac_generate_tabs(IMCContext *q, int sampling_rate)
if (i > 0) {
tb = bark - prev_bark;
q->weights1[i - 1] = pow(10.0, -1.0 * tb);
q->weights2[i - 1] = pow(10.0, -2.7 * tb);
q->weights1[i - 1] = ff_exp10(-1.0 * tb);
q->weights2[i - 1] = ff_exp10(-2.7 * tb);
}
prev_bark = bark;
......
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