summaryrefslogtreecommitdiff
path: root/libavutil/lls.c
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2008-08-07 07:01:54 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-08-07 07:01:54 +0000
commitbc02bc868608668bc277c6d6af47bfd0d9e24e65 (patch)
tree7b314814c0c32ce720e4cc3b84458bb2cbe4f9b5 /libavutil/lls.c
parent0f680571fa763dd2cd1240594093feb8aaa263ee (diff)
downloadffmpeg-bc02bc868608668bc277c6d6af47bfd0d9e24e65.tar.gz
Remove unused redefinition of av_log for test.
Originally committed as revision 14657 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/lls.c')
-rw-r--r--libavutil/lls.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavutil/lls.c b/libavutil/lls.c
index b9d2d81681..265b57498c 100644
--- a/libavutil/lls.c
+++ b/libavutil/lls.c
@@ -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]);
}