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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-05 08:31:03 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-11-05 08:39:42 +0400
commitc28ea94cd7b432e23043662cff6dcbcb450984b2 (patch)
tree24693f6236d41789c6eedd72d356dc8bef750fca /libavfilter/af_volume.c
parent3a1045dfda67216a744038475e47e6fcce252d54 (diff)
af_volume: exp10() is a GNU extension.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/af_volume.c')
-rw-r--r--libavfilter/af_volume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
index 74e0bbb36b..9f45525f61 100644
--- a/libavfilter/af_volume.c
+++ b/libavfilter/af_volume.c
@@ -49,7 +49,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
if (!strcmp(tail, "dB")) {
/* consider the argument an adjustement in decibels */
if (!strcmp(tail, "dB")) {
- d = exp10(d/20);
+ d = pow(10,d/20);
}
} else {
/* parse the argument as an expression */