提交 26ac80d2 编写于 作者: G Ganesh Ajjanagadde

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

Signed-off-by: NGanesh Ajjanagadde <gajjanagadde@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册