mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/f_ebur128: replace pow(10,x) by ff_exp10(x)
Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
parent
86aa2e9f76
commit
e0024b9e5f
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue