diff options
author | Ganesh Ajjanagadde | 2015-12-23 10:00:13 -0800 |
---|---|---|
committer | Ganesh Ajjanagadde | 2015-12-25 10:48:13 -0800 |
commit | 0e9fe3e3c9d235a9d065688d05574d3e712d4d9f (patch) | |
tree | 019124916c0f723be76e591532dadacf9f0a9e2c /libavutil/eval.c | |
parent | 48cd3d233b360162b0b6a83e0d14a6be659c1700 (diff) |
lavu/eval: replace pow(10,x) by ff_exp10(x)
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavutil/eval.c')
-rw-r--r-- | libavutil/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c index dcb8c56a6c..2acbbb47d1 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -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; |