put testing code under #ifdef TEST
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Aug 2008 15:33:17 +0000 (15:33 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Aug 2008 15:33:17 +0000 (15:33 +0000)
Originally committed as revision 14805 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/pca.c

index 8c84c45..b058665 100644 (file)
@@ -149,7 +149,7 @@ int ff_pca(PCA *pca, double *eigenvector, double *eigenvalue){
     return -1;
 }
 
-#if 1
+#ifdef TEST
 
 #undef printf
 #undef random