Commit e0024b9e authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

lavfi/f_ebur128: replace pow(10,x) by ff_exp10(x)

Reviewed-by: 's avatarClément Bœsch <u@pkh.me>
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 86aa2e9f
......@@ -435,7 +435,7 @@ static int config_audio_output(AVFilterLink *outlink)
return 0;
}
#define ENERGY(loudness) (pow(10, ((loudness) + 0.691) / 10.))
#define ENERGY(loudness) (ff_exp10(((loudness) + 0.691) / 10.))
#define LOUDNESS(energy) (-0.691 + 10 * log10(energy))
#define DBFS(energy) (20 * log10(energy))
......
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