From 8ea543b5805453853d8071c86ce15a70dfd097b1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 14 Jul 2006 19:14:25 +0000 Subject: [PATCH] cleanup Originally committed as revision 5750 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flacenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 3eb4d46f41..b72da9093f 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -749,7 +749,7 @@ static int lpc_calc_coefs(const int32_t *samples, int blocksize, int max_order, double var[MAX_LPC_ORDER+1], eval; for(pass=0; pass>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);