summaryrefslogtreecommitdiffstats
path: root/contrib/x265/A00-maxCUSize-idiocy.patch
blob: a93384604c9bfcec35a6e08f524e99368868c182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -r c1e4fc0162c1 source/common/param.cpp
--- a/source/common/param.cpp	Thu Aug 21 16:49:02 2014 -0500
+++ b/source/common/param.cpp	Tue Aug 26 14:52:01 2014 -0700
@@ -1053,6 +1053,7 @@
     uint32_t maxCUDepth = maxLog2CUSize - 2;
     uint32_t tuQTMinLog2Size = 2; //log2(4)
 
+#if 0
     static int once /* = 0 */;
 
     if (ATOMIC_CAS32(&once, 0, 1) == 1)
@@ -1064,6 +1065,7 @@
         }
     }
     else
+#endif
     {
         // set max CU width & height
         g_maxCUSize = param->maxCUSize;