[MPlayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.49,1.50

Aurelien Jacobs CVS syncmail at mplayerhq.hu
Thu Feb 16 23:43:44 CET 2006


CVS change done by Aurelien Jacobs CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv2207/libmpcodecs

Modified Files:
	dec_audio.c 
Log Message:
memalign segfaults when used without declaration on amd64 (default function return type is int so the pointer was trunctated to 32bits)

Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_audio.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- dec_audio.c	14 Feb 2006 09:55:14 -0000	1.49
+++ dec_audio.c	16 Feb 2006 22:43:42 -0000	1.50
@@ -18,6 +18,10 @@
 
 #include "libaf/af.h"
 
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
+
 #ifdef DYNAMIC_PLUGINS
 #include <dlfcn.h>
 #endif




More information about the MPlayer-cvslog mailing list