Hi,

Once in a while c2enc reports the following error:

LSP roots not found!

roots = 8


followed by a list of the LPS coefficients. It is caused by the following check in the function lpc_to_lsp:

*if*((psumr*psuml)<0.0){

roots++;

It happens when one of the roots is exactly equal to the xr and hence the condition is never met. It can be fixed by changing the condition to:

*if*((psumr*psuml)<0.0 || psumr==0){

roots++;


I suggest to merge the fix into the official branch.

Cheers,

Jacek Kaczynski
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to