[Mplayer-cvslog] CVS: main/liba52 Makefile,1.2,1.3 imdct_mlib.c,1.1,1.2

Jürgen Keil jkeil at mplayer.dev.hu
Fri Dec 14 21:15:02 CET 2001


Update of /cvsroot/mplayer/main/liba52
In directory mplayer:/var/tmp.root/cvs-serv11766

Modified Files:
	Makefile imdct_mlib.c 
Log Message:
Fix mediaLib compilation problem on solaris.


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/liba52/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile	9 Dec 2001 19:23:15 -0000	1.2
+++ Makefile	14 Dec 2001 20:14:59 -0000	1.3
@@ -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
 

Index: imdct_mlib.c
===================================================================
RCS file: /cvsroot/mplayer/main/liba52/imdct_mlib.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- imdct_mlib.c	9 Dec 2001 15:28:44 -0000	1.1
+++ imdct_mlib.c	14 Dec 2001 20:14:59 -0000	1.2
@@ -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));




More information about the MPlayer-cvslog mailing list