compilation fix for test program

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12967 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2004-08-07 14:15:55 +00:00
parent 8aa097bb54
commit adad534913
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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()
{