[FFmpeg-cvslog] r10968 - trunk/tests/tiny_psnr.c

diego subversion
Fri Nov 9 05:57:28 CET 2007


Author: diego
Date: Fri Nov  9 05:57:28 2007
New Revision: 10968

Log:
Disable unused function, fixes the warning:
tests/tiny_psnr.c:55: warning: ?exp16? defined but not used


Modified:
   trunk/tests/tiny_psnr.c

Modified: trunk/tests/tiny_psnr.c
==============================================================================
--- trunk/tests/tiny_psnr.c	(original)
+++ trunk/tests/tiny_psnr.c	Fri Nov  9 05:57:28 2007
@@ -49,7 +49,8 @@ uint64_t exp16_table[21]={
  195360063,
  582360139072LL,
 };
-#if 1
+
+#if 0
 // 16.16 fixpoint exp()
 static unsigned int exp16(unsigned int a){
     int i;
@@ -62,6 +63,8 @@ static unsigned int exp16(unsigned int a
 
     return out;
 }
+#endif
+
 // 16.16 fixpoint log()
 static int64_t log16(uint64_t a){
     int i;
@@ -80,7 +83,6 @@ static int64_t log16(uint64_t a){
     return out;
 }
 
-#endif
 static uint64_t int_sqrt(uint64_t a)
 {
     uint64_t ret=0;




More information about the ffmpeg-cvslog mailing list