[xiph-commits] r16627 - trunk/theora/examples

tterribe at svn.xiph.org tterribe at svn.xiph.org
Thu Oct 8 18:42:37 PDT 2009


Author: tterribe
Date: 2009-10-08 18:42:37 -0700 (Thu, 08 Oct 2009)
New Revision: 16627

Modified:
   trunk/theora/examples/png2theora.c
Log:
Also remove floating point from clamp().


Modified: trunk/theora/examples/png2theora.c
===================================================================
--- trunk/theora/examples/png2theora.c	2009-10-09 01:41:16 UTC (rev 16626)
+++ trunk/theora/examples/png2theora.c	2009-10-09 01:42:37 UTC (rev 16627)
@@ -336,7 +336,7 @@
 }
 
 static unsigned char
-clamp(double d)
+clamp(int d)
 {
   if(d < 0)
     return 0;



More information about the commits mailing list