diff options
author | J08nY <johny@neuromancer.sk> | 2016-06-19 14:50:29 +0200 |
---|---|---|
committer | J08nY <johny@neuromancer.sk> | 2016-06-19 15:37:49 +0200 |
commit | 644e9076bbb0daf5e137fae2acad774c6fd3dc49 (patch) | |
tree | c19280085b3c79e2e1c7ab1169937e53ea3406fd /drivers/vorbis/lsp.c | |
parent | 98f23d27a4ffda0828a72108c00178fe1d8d2c3f (diff) |
libvorbis: New version 1.3.5
Diffstat (limited to 'drivers/vorbis/lsp.c')
-rw-r--r-- | drivers/vorbis/lsp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/vorbis/lsp.c b/drivers/vorbis/lsp.c index 50031a7a1c..6a619f7b0c 100644 --- a/drivers/vorbis/lsp.c +++ b/drivers/vorbis/lsp.c @@ -11,7 +11,7 @@ ******************************************************************** function: LSP (also called LSF) conversion routines - last mod: $Id: lsp.c 17538 2010-10-15 02:52:29Z tterribe $ + last mod: $Id: lsp.c 19453 2015-03-02 22:35:34Z xiphmont $ The LSP generation code is taken (with minimal modification and a few bugfixes) from "On the Computation of the LSP Frequencies" by @@ -309,7 +309,6 @@ static int comp(const void *a,const void *b){ #define EPSILON 10e-7 static int Laguerre_With_Deflation(float *a,int ord,float *r){ int i,m; - double lastdelta=0.f; double *defl=alloca(sizeof(*defl)*(ord+1)); for(i=0;i<=ord;i++)defl[i]=a[i]; @@ -346,7 +345,6 @@ static int Laguerre_With_Deflation(float *a,int ord,float *r){ if(delta<0.f)delta*=-1; if(fabs(delta/new)<10e-12)break; - lastdelta=delta; } r[m-1]=new; |