diff options
-rw-r--r-- | liba52/Makefile | 2 | ||||
-rw-r--r-- | liba52/imdct_mlib.c | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/liba52/Makefile b/liba52/Makefile index 4e1b763419..9767aab5cc 100644 --- a/liba52/Makefile +++ b/liba52/Makefile @@ -6,7 +6,7 @@ include ../config.mak SRCS = resample.c bit_allocate.c bitstream.c downmix.c imdct.c imdct_mlib.c parse.c OBJS = $(SRCS:.c=.o) -CFLAGS = $(OPTFLAGS) +CFLAGS = $(MLIB_INC) $(OPTFLAGS) .SUFFIXES: .c .o diff --git a/liba52/imdct_mlib.c b/liba52/imdct_mlib.c index c24318dbbf..188e141386 100644 --- a/liba52/imdct_mlib.c +++ b/liba52/imdct_mlib.c @@ -33,7 +33,6 @@ #include "a52.h" #include "a52_internal.h" -#include "attributes.h" extern sample_t imdct_window[]; @@ -45,7 +44,7 @@ imdct_do_512_mlib(sample_t data[], sample_t delay[], sample_t bias) sample_t *data_ptr; sample_t *delay_ptr; sample_t *window_ptr; - sample_t tmp[256] ATTR_ALIGN (16); + sample_t tmp[256] __attribute__((aligned(16))); int i; memcpy(tmp, data, 256 * sizeof(sample_t)); @@ -94,7 +93,7 @@ imdct_do_256_mlib(sample_t data[], sample_t delay[], sample_t bias) sample_t *data_ptr; sample_t *delay_ptr; sample_t *window_ptr; - sample_t tmp[256] ATTR_ALIGN (16); + sample_t tmp[256] __attribute__((aligned(16))); int i; memcpy(tmp, data, 256 * sizeof(sample_t)); |