aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-12-23 10:00:13 -0800
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-12-25 10:48:13 -0800
commit0e9fe3e3c9d235a9d065688d05574d3e712d4d9f (patch)
tree019124916c0f723be76e591532dadacf9f0a9e2c
parent48cd3d233b360162b0b6a83e0d14a6be659c1700 (diff)
downloadffmpeg-0e9fe3e3c9d235a9d065688d05574d3e712d4d9f.tar.gz
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>
-rw-r--r--libavutil/eval.c2
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;