You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
872 B
23 lines
872 B
From afdd9c4b876d77a4974d3fa7d9f25caeffbdf13d Mon Sep 17 00:00:00 2001
|
|
From: eumagga0x2a <eumagga0x2a@users.noreply.github.com>
|
|
Date: Fri, 29 Sep 2017 15:53:14 +0200
|
|
Subject: [PATCH] [build] Fix compilation with glibc >= 2.27
|
|
|
|
---
|
|
avidemux/common/ADM_audioFilter/src/audiofilter_normalize.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/avidemux/common/ADM_audioFilter/src/audiofilter_normalize.cpp b/avidemux/common/ADM_audioFilter/src/audiofilter_normalize.cpp
|
|
index c6cb43bb6..269c2d2e3 100644
|
|
--- a/avidemux/common/ADM_audioFilter/src/audiofilter_normalize.cpp
|
|
+++ b/avidemux/common/ADM_audioFilter/src/audiofilter_normalize.cpp
|
|
@@ -35,7 +35,7 @@
|
|
#elif defined(ADM_BSD_FAMILY) || defined(__sun__)
|
|
#define POW10(x) powf(10.0,x)
|
|
#else
|
|
-#define POW10(x) pow10f(x)
|
|
+#define POW10(x) exp10f(x)
|
|
#endif
|
|
|
|
#define LINEAR_TO_DB(x) (20.*log10(x))
|