summaryrefslogtreecommitdiff
path: root/user/x265/build-on-any-non-x86.patch
blob: f923956292bd0dc94486a8e493fa92b90268f051 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- x265_2.9/source/common/cpu.cpp.orig	2018-10-05 12:14:40.000000000 +0000
+++ x265_2.9/source/common/cpu.cpp	2018-10-19 02:24:48.780000000 +0000
@@ -59,6 +59,10 @@
 
 namespace X265_NS {
 static bool enable512 = false;
+bool detect512()
+{
+    return(enable512);
+}
 const cpu_name_t cpu_names[] =
 {
 #if X265_ARCH_X86
@@ -123,10 +127,6 @@
 #pragma warning(disable: 4309) // truncation of constant value
 #endif
 
-bool detect512()
-{
-    return(enable512);
-}
 uint32_t cpu_detect(bool benableavx512 )
 {