diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2014-04-21 09:41:31 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2014-04-21 09:41:31 -0700 |
commit | 33e5aeb722ba4fc1c2ae3162c4940b546037717f (patch) | |
tree | c3f1e57feeab5ea07e0bc5d7d56791c881f457b7 /gr-vocoder/lib/codec2/lsp.c | |
parent | a3998949d9c65076d91e3165733a5abd381ad882 (diff) | |
parent | 5efae492bb690e8e92fe18fb0abe0aff345c3935 (diff) |
Merge branch 'merge-codec2-update'
Diffstat (limited to 'gr-vocoder/lib/codec2/lsp.c')
-rw-r--r-- | gr-vocoder/lib/codec2/lsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-vocoder/lib/codec2/lsp.c b/gr-vocoder/lib/codec2/lsp.c index b57507bb42..3f34444e33 100644 --- a/gr-vocoder/lib/codec2/lsp.c +++ b/gr-vocoder/lib/codec2/lsp.c @@ -212,7 +212,7 @@ int lpc_to_lsp (float *a, int lpcrdr, float *freq, int nb, float delta) interval between xl and xr and repeat till root is located within the specified limits */ - if((psumr*psuml)<0.0){ + if(((psumr*psuml)<0.0) || (psumr == 0.0)){ roots++; psumm=psuml; |