Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-02-12 02:04:19 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2017-08-04 20:18:33 +0300
commit573ef3f16bd2f5cb8bd511bb3675b30ce7b009f3 (patch)
tree17b0251de9edb4d0ea3bd194f6d3a2ac8ed7034a
parent5ff8be68da0ee7fba28b239382f7fef81cdfdab6 (diff)
hevc: disable intrapred intrinsics on msvc
Those two don't like each other very much.
-rw-r--r--libavcodec/x86/hevcdsp_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/hevcdsp_init.c b/libavcodec/x86/hevcdsp_init.c
index b6ded8f133..490eb26937 100644
--- a/libavcodec/x86/hevcdsp_init.c
+++ b/libavcodec/x86/hevcdsp_init.c
@@ -1191,6 +1191,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);
@@ -1201,4 +1202,5 @@ void ff_hevc_pred_init_x86(HEVCPredContext *hpc, int bit_depth)
HEVC_PRED(10);
}
}
+#endif
}