Mercurial > mplayer.hg
comparison liba52/liba52_changes.diff @ 28593:94d9e6403ee4
Convert HAVE_MEMALIGN into a 0/1 definition, fixes the warning:
mem.c:67:7: warning: "HAVE_MEMALIGN" is not defined
author | diego |
---|---|
date | Tue, 17 Feb 2009 10:41:13 +0000 |
parents | 31287e75b5d8 |
children | dcdc0c85d354 |
comparison
equal
deleted
inserted
replaced
28592:d9c223f0f7ef | 28593:94d9e6403ee4 |
---|---|
2352 #include "bitstream.h" | 2352 #include "bitstream.h" |
2353 #include "tables.h" | 2353 #include "tables.h" |
2354 +#include "mm_accel.h" | 2354 +#include "mm_accel.h" |
2355 +#include "libavutil/avutil.h" | 2355 +#include "libavutil/avutil.h" |
2356 | 2356 |
2357 #ifdef HAVE_MEMALIGN | 2357 -#ifdef HAVE_MEMALIGN |
2358 +#if HAVE_MEMALIGN | |
2358 /* some systems have memalign() but no declaration for it */ | 2359 /* some systems have memalign() but no declaration for it */ |
2359 void * memalign (size_t align, size_t size); | 2360 void * memalign (size_t align, size_t size); |
2360 -#else | 2361 -#else |
2361 -/* assume malloc alignment is sufficient */ | 2362 -/* assume malloc alignment is sufficient */ |
2362 -#define memalign(align,size) malloc (size) | 2363 -#define memalign(align,size) malloc (size) |