Commit c28ea94c authored by Michael Niedermayer's avatar Michael Niedermayer

af_volume: exp10() is a GNU extension.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3a1045df
...@@ -49,7 +49,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) ...@@ -49,7 +49,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
if (!strcmp(tail, "dB")) { if (!strcmp(tail, "dB")) {
/* consider the argument an adjustement in decibels */ /* consider the argument an adjustement in decibels */
if (!strcmp(tail, "dB")) { if (!strcmp(tail, "dB")) {
d = exp10(d/20); d = pow(10,d/20);
} }
} else { } else {
/* parse the argument as an expression */ /* parse the argument as an expression */
......
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