Commit 0e9fe3e3 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

lavu/eval: replace pow(10,x) by ff_exp10(x)

Reviewed-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 48cd3d23
......@@ -106,7 +106,7 @@ double av_strtod(const char *numstr, char **tail)
if (next!=numstr) {
if (next[0] == 'd' && next[1] == 'B') {
/* treat dB as decibels instead of decibytes */
d = pow(10, d / 20);
d = ff_exp10(d / 20);
next += 2;
} else if (*next >= 'E' && *next <= 'z') {
int e= si_prefixes[*next - 'E'].exp;
......
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