Remove unused redefinition of av_log for test.
authorBenoit Fouet <benoit.fouet@free.fr>
Thu, 7 Aug 2008 07:01:54 +0000 (07:01 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Thu, 7 Aug 2008 07:01:54 +0000 (07:01 +0000)
Originally committed as revision 14657 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/lls.c

index b9d2d816817ab38d66d86210526b84fa1cec5995..265b57498c19c8db94238c2ffc1d4801a457d5ad 100644 (file)
 
 #include "lls.h"
 
 
 #include "lls.h"
 
-#ifdef TEST
-#define av_log(a,b,...) printf(__VA_ARGS__)
-#endif
-
 void av_init_lls(LLSModel *m, int indep_count){
     memset(m, 0, sizeof(LLSModel));
 
 void av_init_lls(LLSModel *m, int indep_count){
     memset(m, 0, sizeof(LLSModel));
 
@@ -140,7 +136,7 @@ int main(void){
         av_solve_lls(&m, 0.001, 0);
         for(order=0; order<3; order++){
             eval= av_evaluate_lls(&m, var+1, order);
         av_solve_lls(&m, 0.001, 0);
         for(order=0; order<3; order++){
             eval= av_evaluate_lls(&m, var+1, order);
-            av_log(NULL, AV_LOG_DEBUG, "real:%f order:%d pred:%f var:%f coeffs:%f %f %f\n",
+            printf("real:%f order:%d pred:%f var:%f coeffs:%f %f %f\n",
                 var[0], order, eval, sqrt(m.variance[order] / (i+1)),
                 m.coeff[order][0], m.coeff[order][1], m.coeff[order][2]);
         }
                 var[0], order, eval, sqrt(m.variance[order] / (i+1)),
                 m.coeff[order][0], m.coeff[order][1], m.coeff[order][2]);
         }