Mercurial > mplayer.hg
changeset 3493:a4721884eaf5
Fix mediaLib compilation problem on solaris.
author | jkeil |
---|---|
date | Fri, 14 Dec 2001 20:14:59 +0000 |
parents | 24b0fad7fccc |
children | fb9de639ed30 |
files | liba52/Makefile liba52/imdct_mlib.c |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/liba52/Makefile Fri Dec 14 20:13:17 2001 +0000 +++ b/liba52/Makefile Fri Dec 14 20:14:59 2001 +0000 @@ -6,7 +6,7 @@ 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
--- a/liba52/imdct_mlib.c Fri Dec 14 20:13:17 2001 +0000 +++ b/liba52/imdct_mlib.c Fri Dec 14 20:14:59 2001 +0000 @@ -33,7 +33,6 @@ #include "a52.h" #include "a52_internal.h" -#include "attributes.h" extern sample_t imdct_window[]; @@ -45,7 +44,7 @@ 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 @@ 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));