mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
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:
parent
abc9495e0c
commit
1783ce38f6
@ -134,7 +134,7 @@ void dct64_MMX_3dnow(short *, short *, real *);
|
|||||||
void dct64_MMX_3dnowex(short *, short *, real *);
|
void dct64_MMX_3dnowex(short *, short *, real *);
|
||||||
void dct64_sse(short *, short *, real *);
|
void dct64_sse(short *, short *, real *);
|
||||||
void dct64_altivec(real *, real *, 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 *);
|
void mp3lib_dct64(real *, real *, real *);
|
||||||
|
|
||||||
|
@ -387,6 +387,8 @@ static int _has_mmx = 0; // used by layer2.c, layer3.c to pre-scale coeffs
|
|||||||
/* PUBLIC FUNCTIONS */
|
/* PUBLIC FUNCTIONS */
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
|
void (*dct64_MMX_func)(short *, short *, real *);
|
||||||
|
|
||||||
#include "layer2.c"
|
#include "layer2.c"
|
||||||
#include "layer3.c"
|
#include "layer3.c"
|
||||||
#include "layer1.c"
|
#include "layer1.c"
|
||||||
|
Loading…
Reference in New Issue
Block a user