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
This commit is contained in:
reimar 2010-02-23 22:29:57 +00:00
parent abc9495e0c
commit 1783ce38f6
2 changed files with 3 additions and 1 deletions

View File

@ -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 *);

View File

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