[FFmpeg-cvslog] avcodec/x86/sbrdsp_init: disable using the noise code in x86_64 MSVC

Michael Niedermayer git at videolan.org
Tue Apr 23 12:48:19 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr 23 12:39:23 2013 +0200| [7a617d6c17d038034ee1ab3b12340a2c76652f6f] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7a617d6c17d038034ee1ab3b12340a2c76652f6f
---

 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 0bc4a61..cc88fca 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
     }
 }



More information about the ffmpeg-cvslog mailing list