[FFmpeg-cvslog] r19616 - trunk/libavutil/lls.c

diego subversion
Mon Aug 10 15:42:17 CEST 2009


Author: diego
Date: Mon Aug 10 15:42:16 2009
New Revision: 19616

Log:
Remove disabled code cruft.

Modified:
   trunk/libavutil/lls.c

Modified: trunk/libavutil/lls.c
==============================================================================
--- trunk/libavutil/lls.c	Mon Aug 10 14:34:36 2009	(r19615)
+++ trunk/libavutil/lls.c	Mon Aug 10 15:42:16 2009	(r19616)
@@ -118,20 +118,10 @@ int main(void){
     for(i=0; i<100; i++){
         double var[4];
         double eval;
-#if 0
-        var[1] = rand() / (double)RAND_MAX;
-        var[2] = rand() / (double)RAND_MAX;
-        var[3] = rand() / (double)RAND_MAX;
-
-        var[2]= var[1] + var[3]/2;
-
-        var[0] = var[1] + var[2] + var[3] +  var[1]*var[2]/100;
-#else
         var[0] = (rand() / (double)RAND_MAX - 0.5)*2;
         var[1] = var[0] + rand() / (double)RAND_MAX - 0.5;
         var[2] = var[1] + rand() / (double)RAND_MAX - 0.5;
         var[3] = var[2] + rand() / (double)RAND_MAX - 0.5;
-#endif
         av_update_lls(&m, var, 0.99);
         av_solve_lls(&m, 0.001, 0);
         for(order=0; order<3; order++){



More information about the ffmpeg-cvslog mailing list