From adad53491356a5f56538519373486fa121df1819 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 7 Aug 2004 14:15:55 +0000 Subject: [PATCH] compilation fix for test program git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12967 b3059339-0415-0410-9bf9-f77b7e298cf2 --- liba52/Makefile | 2 +- liba52/test.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 #include #include +#include #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() {