Mercurial > libavcodec.hg
changeset 3470:c6071e607062 libavcodec
cleanup
author | michael |
---|---|
date | Fri, 14 Jul 2006 19:14:25 +0000 |
parents | c9059c843d4c |
children | c2db6e76b269 |
files | flacenc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flacenc.c Fri Jul 14 18:56:17 2006 +0000 +++ b/flacenc.c Fri Jul 14 19:14:25 2006 +0000 @@ -749,7 +749,7 @@ double var[MAX_LPC_ORDER+1], eval; for(pass=0; pass<use_lpc-1; pass++){ - av_init_lls(&m[pass&1], max_order/*3*/); + av_init_lls(&m[pass&1], max_order); for(i=max_order; i<blocksize; i++){ for(j=0; j<=max_order; j++) @@ -759,7 +759,7 @@ eval= av_evaluate_lls(&m[(pass-1)&1], var+1); eval= (512>>pass) + fabs(eval - var[0]); for(j=0; j<=max_order; j++) - var[j]= samples[i-j] / sqrt(eval); + var[j]/= sqrt(eval); } av_update_lls(&m[pass&1], var, 1.0);