Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-12-23 21:06:57 +0300
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-12-25 21:48:18 +0300
commit421679dbf799c8f70332b62434c86f7da27ec181 (patch)
treefd28be3b99b94f961d2962b7de33ceda80231d85
parent6c360ca8a1d8b2d4b29de9af047575ec224867c7 (diff)
lavfi/af_compand: replace pow(10,x) by ff_exp10(x)
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-rw-r--r--libavfilter/af_compand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_compand.c b/libavfilter/af_compand.c
index 68b1fae81e..b74636409c 100644
--- a/libavfilter/af_compand.c
+++ b/libavfilter/af_compand.c
@@ -506,7 +506,7 @@ static int config_output(AVFilterLink *outlink)
cp->decay = 1.0 - exp(-1.0 / (sample_rate * cp->decay));
else
cp->decay = 1.0;
- cp->volume = pow(10.0, s->initial_volume / 20);
+ cp->volume = ff_exp10(s->initial_volume / 20);
}
s->delay_samples = s->delay * sample_rate;