summaryrefslogtreecommitdiffstats
path: root/mp3lib/test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp3lib/test2.c')
-rw-r--r--mp3lib/test2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mp3lib/test2.c b/mp3lib/test2.c
index ccde3de91a..17c92bf79b 100644
--- a/mp3lib/test2.c
+++ b/mp3lib/test2.c
@@ -11,6 +11,7 @@
#include "mp3lib/mp3.h"
#include "config.h"
+#include "cpudetect.h"
static FILE* mp3file=NULL;
@@ -21,6 +22,7 @@ int mplayer_audio_read(char *buf,int size){
#define BUFFLEN 4608
static unsigned char buffer[BUFFLEN];
+
int main(int argc,char* argv[]){
int len;
int total=0;
@@ -30,6 +32,8 @@ int main(int argc,char* argv[]){
mp3file=fopen((argc>1)?argv[1]:"test.mp3","rb");
if(!mp3file){ printf("file not found\n"); exit(1); }
+
+ GetCpuCaps(&gCpuCaps);
// MPEG Audio:
#ifdef USE_FAKE_MONO