[MPlayer-dev-eng] [PATCH 1/2] configure: Fix _aligned_malloc check
Alexander Strasser
eclipse7 at gmx.net
Mon Apr 3 02:04:06 EEST 2017
The check calls _aligned_malloc with a wrong number of arguments,
which results in an error.
Unbreak at least mingw64 after removal of the memalign hack from FFmpeg.
Fixes part of ticket #2318
Signed-off-by: Alexander Strasser <eclipse7 at gmx.net>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 3c6275335..fff44f5f1 100755
--- a/configure
+++ b/configure
@@ -3872,7 +3872,7 @@ echores "$_malloc"
echocheck "aligned malloc"
aligned_malloc=no
def_aligned_malloc='#define HAVE_ALIGNED_MALLOC 0'
-statement_check malloc.h '_aligned_malloc(0)' && aligned_malloc=yes &&
+statement_check malloc.h '_aligned_malloc(1, 32)' && aligned_malloc=yes &&
def_aligned_malloc='#define HAVE_ALIGNED_MALLOC 1'
echores "$aligned_malloc"
--
2.11.0
Alexander
More information about the MPlayer-dev-eng
mailing list