[MPlayer-cvslog] r28628 - in trunk: configure liba52/liba52_changes.diff liba52/parse.c
diego
subversion at mplayerhq.hu
Tue Feb 17 11:41:13 CET 2009
Author: diego
Date: Tue Feb 17 11:41:13 2009
New Revision: 28628
Log:
Convert HAVE_MEMALIGN into a 0/1 definition, fixes the warning:
mem.c:67:7: warning: "HAVE_MEMALIGN" is not defined
Modified:
trunk/configure
trunk/liba52/liba52_changes.diff
trunk/liba52/parse.c
Modified: trunk/configure
==============================================================================
--- trunk/configure Tue Feb 17 11:13:08 2009 (r28627)
+++ trunk/configure Tue Feb 17 11:41:13 2009 (r28628)
@@ -3168,7 +3168,7 @@ cc_check && _memalign=yes
if test "$_memalign" = yes ; then
def_memalign='#define HAVE_MEMALIGN 1'
else
- def_memalign='#undef HAVE_MEMALIGN'
+ def_memalign='#define HAVE_MEMALIGN 0'
def_map_memalign='#define memalign(a,b) malloc(b)'
darwin || def_memalign_hack='#define CONFIG_MEMALIGN_HACK 1'
fi
Modified: trunk/liba52/liba52_changes.diff
==============================================================================
--- trunk/liba52/liba52_changes.diff Tue Feb 17 11:13:08 2009 (r28627)
+++ trunk/liba52/liba52_changes.diff Tue Feb 17 11:41:13 2009 (r28628)
@@ -2354,7 +2354,8 @@
+#include "mm_accel.h"
+#include "libavutil/avutil.h"
- #ifdef HAVE_MEMALIGN
+-#ifdef HAVE_MEMALIGN
++#if HAVE_MEMALIGN
/* some systems have memalign() but no declaration for it */
void * memalign (size_t align, size_t size);
-#else
Modified: trunk/liba52/parse.c
==============================================================================
--- trunk/liba52/parse.c Tue Feb 17 11:13:08 2009 (r28627)
+++ trunk/liba52/parse.c Tue Feb 17 11:41:13 2009 (r28628)
@@ -39,7 +39,7 @@
#include "mm_accel.h"
#include "libavutil/avutil.h"
-#ifdef HAVE_MEMALIGN
+#if HAVE_MEMALIGN
/* some systems have memalign() but no declaration for it */
void * memalign (size_t align, size_t size);
#endif
More information about the MPlayer-cvslog
mailing list