diff options
author | aurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-16 22:43:42 +0000 |
---|---|---|
committer | aurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-16 22:43:42 +0000 |
commit | 808ce9a03a6d2f810ab3616c33105a08b987f07c (patch) | |
tree | d2faaca35531772b8d599d0e027b80feb61ae07e /libmpcodecs | |
parent | acf99ed75be8b173891b1f8562ebda09b7710a6d (diff) |
memalign segfaults when used without declaration on amd64 (default function return type is int so the pointer was trunctated to 32bits)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17636 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/dec_audio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c index 11d77064c6..d63eb9ced1 100644 --- a/libmpcodecs/dec_audio.c +++ b/libmpcodecs/dec_audio.c @@ -18,6 +18,10 @@ #include "libaf/af.h" +#ifdef HAVE_MALLOC_H +#include <malloc.h> +#endif + #ifdef DYNAMIC_PLUGINS #include <dlfcn.h> #endif |