mirror of
https://github.com/mpv-player/mpv
synced 2025-01-08 16:10:29 +00:00
Fix mediaLib compilation problem on solaris.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3494 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ed615f4d81
commit
5b38c5c251
@ -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
|
||||
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user