diff options
-rw-r--r-- | liba52/Makefile | 2 | ||||
-rw-r--r-- | liba52/test.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/liba52/Makefile b/liba52/Makefile index ed5d1cffc6..80323bc7a8 100644 --- a/liba52/Makefile +++ b/liba52/Makefile @@ -20,7 +20,7 @@ $(LIBNAME): $(OBJS) $(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 diff --git a/liba52/test.c b/liba52/test.c index 13fca5bed7..bc32eb4c2a 100644 --- a/liba52/test.c +++ b/liba52/test.c @@ -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 int buf_size=0; 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() { |