summaryrefslogtreecommitdiff
path: root/lib/lpc.c
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2000-06-14 01:38:32 +0000
committerMonty <xiphmont@xiph.org>2000-06-14 01:38:32 +0000
commit67f833635368a912b53f68ec55840e4f7cdd69c5 (patch)
tree620cb6dce2e9d85329225086b5404dd27c715d35 /lib/lpc.c
parent0f9673112618308d12fef7d42a9ee608c177d1ce (diff)
downloadlibvorbis-git-67f833635368a912b53f68ec55840e4f7cdd69c5.tar.gz
Merge of the current Monty branch; this brings in new psychoacoustic
fixes, better LSP fit and better tuning. svn path=/trunk/vorbis/; revision=445
Diffstat (limited to 'lib/lpc.c')
-rw-r--r--lib/lpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lpc.c b/lib/lpc.c
index f2d30b0d..4dc76bef 100644
--- a/lib/lpc.c
+++ b/lib/lpc.c
@@ -12,7 +12,7 @@
********************************************************************
function: LPC low level routines
- last mod: $Id: lpc.c,v 1.20 2000/05/08 20:49:49 xiphmont Exp $
+ last mod: $Id: lpc.c,v 1.21 2000/06/14 01:38:31 xiphmont Exp $
********************************************************************/
@@ -127,6 +127,7 @@ double vorbis_lpc_from_curve(double *curve,double *lpc,lpc_lookup *l){
work[i*2]=curve[i]*fscale;
work[i*2+1]=0;
}
+ work[n*2-1]=curve[n-1]*fscale;
n*=2;
drft_backward(&l->fft,work);