[FFmpeg-cvslog] r14657 - trunk/libavutil/lls.c
benoit
subversion
Thu Aug 7 09:01:54 CEST 2008
Author: benoit
Date: Thu Aug 7 09:01:54 2008
New Revision: 14657
Log:
Remove unused redefinition of av_log for test.
Modified:
trunk/libavutil/lls.c
Modified: trunk/libavutil/lls.c
==============================================================================
--- trunk/libavutil/lls.c (original)
+++ trunk/libavutil/lls.c Thu Aug 7 09:01:54 2008
@@ -30,10 +30,6 @@
#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));
@@ -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_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]);
}
More information about the ffmpeg-cvslog
mailing list