[FFmpeg-cvslog] af_volume: exp10() is a GNU extension.
Michael Niedermayer
git at videolan.org
Sat Nov 5 05:42:41 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Nov 5 05:31:03 2011 +0100| [c28ea94cd7b432e23043662cff6dcbcb450984b2] | committer: Michael Niedermayer
af_volume: exp10() is a GNU extension.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c28ea94cd7b432e23043662cff6dcbcb450984b2
---
libavfilter/af_volume.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
index 74e0bbb..9f45525 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 */
More information about the ffmpeg-cvslog
mailing list