Do not hardcode filter order in ff_acelp_lspd2lpc()

Originally committed as revision 20485 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak
2009-11-09 12:06:19 +00:00
parent 91cc5d3767
commit e26d131845
3 changed files with 14 additions and 13 deletions

View File

@@ -578,7 +578,7 @@ static void lspf2lpc(const float *lspf, float *lpc)
for (i=0; i<10; i++)
lsp[i] = cos(M_PI * lspf[i]);
ff_acelp_lspd2lpc(lsp, lpc);
ff_acelp_lspd2lpc(lsp, lpc, 5);
for (i=0; i<10; i++)
{