changeset 12966:4e7d8679d6d8

compilation fix for test program
author reimar
date Sat, 07 Aug 2004 14:15:55 +0000
parents 520c8675f033
children 1dc4d1723f88
files liba52/Makefile liba52/test.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liba52/Makefile	Thu Aug 05 06:31:42 2004 +0000
+++ b/liba52/Makefile	Sat Aug 07 14:15:55 2004 +0000
@@ -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
--- a/liba52/test.c	Thu Aug 05 06:31:42 2004 +0000
+++ b/liba52/test.c	Sat Aug 07 14:15:55 2004 +0000
@@ -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()
 {