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 8c84c450a653a18a57320e837b780606ef5613e1..b058665e93be41512d929740390cf10836c4170d 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