[xiph-commits] r17285 - experimental/derf/theora-ptalarbvorm/lib

tterribe at svn.xiph.org tterribe at svn.xiph.org
Tue Jun 8 13:57:21 PDT 2010


Author: tterribe
Date: 2010-06-08 13:57:21 -0700 (Tue, 08 Jun 2010)
New Revision: 17285

Modified:
   experimental/derf/theora-ptalarbvorm/lib/mathops.c
Log:
Correctly handle the case where OC_CLZ32 is undefined but OC_CLZ64 is.
Still need to track down how such a thing is even possible on a real system.


Modified: experimental/derf/theora-ptalarbvorm/lib/mathops.c
===================================================================
--- experimental/derf/theora-ptalarbvorm/lib/mathops.c	2010-06-08 13:42:52 UTC (rev 17284)
+++ experimental/derf/theora-ptalarbvorm/lib/mathops.c	2010-06-08 20:57:21 UTC (rev 17285)
@@ -13,8 +13,7 @@
     year=1998,
     note="\url{http://supertech.csail.mit.edu/papers/debruijn.pdf}"
   }*/
-#if !defined(OC_ILOG_NODEBRUIJN)&& \
- !defined(OC_CLZ32)&&!defined(OC_CLZ64)&&LONG_MAX<9223372036854775807LL
+#if !defined(OC_ILOG_NODEBRUIJN)&&!defined(OC_CLZ32)
 static const unsigned char OC_DEBRUIJN_IDX32[32]={
    0, 1,28, 2,29,14,24, 3,30,22,20,15,25,17, 4, 8,
   31,27,13,23,21,19,16, 7,26,12,18, 6,11, 5,10, 9



More information about the commits mailing list