From 7a617d6c17d038034ee1ab3b12340a2c76652f6f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 23 Apr 2013 12:39:23 +0200 Subject: [PATCH] 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 --- libavcodec/x86/sbrdsp_init.c | 2 ++ 1 file changed, 2 insertions(+) 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 } }