diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-23 12:39:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-23 12:46:28 +0200 |
commit | 7a617d6c17d038034ee1ab3b12340a2c76652f6f (patch) | |
tree | ca2aa4b9e428628945c51dd2059a009ed4eb5029 /libavcodec/x86/sbrdsp_init.c | |
parent | 0a73803c86f6f4e8db379d8514cccdd8a9d7b9ee (diff) | |
download | ffmpeg-7a617d6c17d038034ee1ab3b12340a2c76652f6f.tar.gz |
avcodec/x86/sbrdsp_init: disable using the noise code in x86_64 MSVC
This should fix building with MSVC until someone can change the
code so it works with MSVC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/sbrdsp_init.c')
-rw-r--r-- | libavcodec/x86/sbrdsp_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/sbrdsp_init.c b/libavcodec/x86/sbrdsp_init.c index 0bc4a6183e..cc88fcac97 100644 --- a/libavcodec/x86/sbrdsp_init.c +++ b/libavcodec/x86/sbrdsp_init.c @@ -68,9 +68,11 @@ av_cold void ff_sbrdsp_init_x86(SBRDSPContext *s) if (EXTERNAL_SSE2(mm_flags)) { s->qmf_deint_bfly = ff_sbr_qmf_deint_bfly_sse2; s->qmf_pre_shuffle = ff_sbr_qmf_pre_shuffle_sse2; +#if ARCH_X86_32 || !defined(_MSC_VER) s->hf_apply_noise[0] = ff_sbr_hf_apply_noise_0_sse2; s->hf_apply_noise[1] = ff_sbr_hf_apply_noise_1_sse2; s->hf_apply_noise[2] = ff_sbr_hf_apply_noise_2_sse2; s->hf_apply_noise[3] = ff_sbr_hf_apply_noise_3_sse2; +#endif } } |