aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qcelpdec.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-11-09 12:06:19 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-11-09 12:06:19 +0000
commite26d1318458e598bbea796508b812917d983cef6 (patch)
treed2b8f05a95678945a3b760d1b3df8dcd66d2697f /libavcodec/qcelpdec.c
parent91cc5d37679b112d03c20d053905c3941c0a8992 (diff)
downloadffmpeg-e26d1318458e598bbea796508b812917d983cef6.tar.gz
Do not hardcode filter order in ff_acelp_lspd2lpc()
Originally committed as revision 20485 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelpdec.c')
-rw-r--r--libavcodec/qcelpdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index d655529c16..16f9ae0be9 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -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++)
{