aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/lls.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-08-10 13:42:16 +0000
committerDiego Biurrun <diego@biurrun.de>2009-08-10 13:42:16 +0000
commit3d7b15e4509629c03046e17b2bae2a0a6a611548 (patch)
treeb49e9dcdb631fb7dff366e534cb7a5d39d376f5d /libavutil/lls.c
parent10f840bd579e959bb1abe679953d836c9ff1ecd3 (diff)
downloadffmpeg-3d7b15e4509629c03046e17b2bae2a0a6a611548.tar.gz
Remove disabled code cruft.
Originally committed as revision 19616 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/lls.c')
-rw-r--r--libavutil/lls.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavutil/lls.c b/libavutil/lls.c
index 792ffa7576..047f976c3f 100644
--- a/libavutil/lls.c
+++ b/libavutil/lls.c
@@ -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++){