summaryrefslogtreecommitdiffstats
path: root/mp3lib/sr1.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-23 22:29:57 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-23 22:29:57 +0000
commit1783ce38f687e85bd164e16aff16b64fbdab2dbb (patch)
tree5820374a66ea1ad465cefb9c2f3087f2c26eccae /mp3lib/sr1.c
parentabc9495e0c0ff3a6f8205855494a222f2aa965ce (diff)
downloadmpv-1783ce38f687e85bd164e16aff16b64fbdab2dbb.tar.bz2
mpv-1783ce38f687e85bd164e16aff16b64fbdab2dbb.tar.xz
Fix compilation: the dct64_MMX_func variable should be declared only once,
not every time the header is included. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30724 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/sr1.c')
-rw-r--r--mp3lib/sr1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c
index 72502d61ee..694961ebc0 100644
--- a/mp3lib/sr1.c
+++ b/mp3lib/sr1.c
@@ -387,6 +387,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"