changeset 1639:3299a2225fa6 trunk

[svn] - use #ifdef linux instead
author nenolod
date Thu, 07 Sep 2006 11:57:03 -0700
parents 9937a2512823
children 6e477dd65024
files ChangeLog Plugins/Input/wma/libffwma/mem.c
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Sep 07 11:45:48 2006 -0700
+++ b/ChangeLog	Thu Sep 07 11:57:03 2006 -0700
@@ -1,3 +1,14 @@
+2006-09-07 18:45:48 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2207]
+  - wma.c: use av_malloc() instead of directly using posix_memalign()
+  - libffwma/mem.c: use posix_memalign() only on glibc, other platforms do not need it
+  
+
+  Changes:        Modified:
+  +4 -0           trunk/Plugins/Input/wma/libffwma/mem.c  
+  +4 -2           trunk/Plugins/Input/wma/wma.c  
+
+
 2006-09-07 18:32:59 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2205]
   - fully working CoreAudio plugin, based on the OSS plugin and an incomplete xmms coreaudio plugin (fink)
--- a/Plugins/Input/wma/libffwma/mem.c	Thu Sep 07 11:45:48 2006 -0700
+++ b/Plugins/Input/wma/libffwma/mem.c	Thu Sep 07 11:57:03 2006 -0700
@@ -45,7 +45,7 @@
 {
     void *ptr;
 
-#ifdef __GLIBC__
+#ifdef linux
     posix_memalign(&ptr, 16, size);
 #else
     ptr = malloc(size);