[Mplayer-cvslog] CVS: main/liba52 Makefile, 1.10, 1.11 test.c, 1.6, 1.7

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sat Aug 7 16:15:57 CEST 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/liba52
In directory mail:/var2/tmp/cvs-serv23540/liba52

Modified Files:
	Makefile test.c 
Log Message:
compilation fix for test program


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/liba52/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Makefile	24 Jun 2004 12:52:15 -0000	1.10
+++ Makefile	7 Aug 2004 14:15:55 -0000	1.11
@@ -20,7 +20,7 @@
 	$(RANLIB) $(LIBNAME)
 
 test:        $(LIBNAME) test.c
-	$(CC) $(CFLAGS)  test.c ../cpudetect.c -o test ./liba52.a -lm
+	$(CC) $(CFLAGS)  test.c ../cpudetect.c -o test ../osdep/libosdep.a ./liba52.a -lm
 
 test2:        $(LIBNAME) test.c
 	$(CC) $(CFLAGS) test.c -o test2 ../libac3/libac3.a ./liba52.a -lm

Index: test.c
===================================================================
RCS file: /cvsroot/mplayer/main/liba52/test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- test.c	30 Dec 2001 21:38:53 -0000	1.6
+++ test.c	7 Aug 2004 14:15:55 -0000	1.7
@@ -9,6 +9,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <inttypes.h>
+#include <string.h>
 
 #include "a52.h"
 #include "mm_accel.h"
@@ -21,6 +22,10 @@
 
 static int16_t out_buf[6*256*6];
 
+void mp_msg_c( int x, const char *format, ... ) // stub for cpudetect.c
+{
+}
+
 #ifdef TIMING
 static inline long long rdtsc()
 {




More information about the MPlayer-cvslog mailing list