diff --git a/libavcodec/x86/hevcdsp_init.c b/libavcodec/x86/hevcdsp_init.c index b8ca934288..30d75be42c 100644 --- a/libavcodec/x86/hevcdsp_init.c +++ b/libavcodec/x86/hevcdsp_init.c @@ -1294,6 +1294,7 @@ void ff_hevc_pred_init_x86(HEVCPredContext *hpc, int bit_depth) { int mm_flags = av_get_cpu_flags(); +#ifndef _MSC_VER if (bit_depth == 8) { if (EXTERNAL_SSE4(mm_flags)) { HEVC_PRED(8); @@ -1304,4 +1305,5 @@ void ff_hevc_pred_init_x86(HEVCPredContext *hpc, int bit_depth) HEVC_PRED(10); } } +#endif }