summaryrefslogtreecommitdiffstats
path: root/mp3lib
diff options
context:
space:
mode:
Diffstat (limited to 'mp3lib')
-rw-r--r--mp3lib/mpg123.h2
-rw-r--r--mp3lib/sr1.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/mp3lib/mpg123.h b/mp3lib/mpg123.h
index 3d98366b4f..5a7548250a 100644
--- a/mp3lib/mpg123.h
+++ b/mp3lib/mpg123.h
@@ -134,7 +134,7 @@ void dct64_MMX_3dnow(short *, short *, real *);
void dct64_MMX_3dnowex(short *, short *, real *);
void dct64_sse(short *, short *, real *);
void dct64_altivec(real *, real *, real *);
-void (*dct64_MMX_func)(short *, short *, real *);
+extern void (*dct64_MMX_func)(short *, short *, real *);
void mp3lib_dct64(real *, real *, real *);
diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c
index 5a13344514..3b3a2af204 100644
--- a/mp3lib/sr1.c
+++ b/mp3lib/sr1.c
@@ -383,6 +383,8 @@ static int _has_mmx = 0; // used by layer2.c, layer3.c to pre-scale coeffs
/* PUBLIC FUNCTIONS */
/******************************************************************************/
+void (*dct64_MMX_func)(short *, short *, real *);
+
#include "layer2.c"
#include "layer3.c"
#include "layer1.c"