x86: Fix linking with some or all of yasm, mmx, optimizations disabled
Some optimized template functions reference optimized symbols, so they must be explicitly disabled when those symbols are unavailable. (cherry picked from commit ec36aa69448f20a78d8c4588265022e0b2272ab5) Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
parent
28f2d3c5a5
commit
976f2e0a54
@ -160,6 +160,7 @@ static void apply_window_mp3(float *in, float *win, int *unused, float *out,
|
||||
}
|
||||
|
||||
|
||||
#if HAVE_YASM
|
||||
#define DECL_IMDCT_BLOCKS(CPU1, CPU2) \
|
||||
static void imdct36_blocks_ ## CPU1(float *out, float *buf, float *in, \
|
||||
int count, int switch_point, int block_type) \
|
||||
@ -197,6 +198,7 @@ DECL_IMDCT_BLOCKS(sse2,sse)
|
||||
DECL_IMDCT_BLOCKS(sse3,sse)
|
||||
DECL_IMDCT_BLOCKS(ssse3,sse)
|
||||
DECL_IMDCT_BLOCKS(avx,avx)
|
||||
#endif /* HAVE_YASM */
|
||||
|
||||
void ff_mpadsp_init_mmx(MPADSPContext *s)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user