diff options
author | Kenan Gillet <kenan.gillet@gmail.com> | 2009-02-23 22:19:16 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2009-02-23 22:19:16 +0000 |
commit | cacb82134e486284438ff23395faa746f461e657 (patch) | |
tree | e76bf857e4dc09c997eb000dca601a061a835743 /libavcodec/qcelp_lsp.c | |
parent | 40284e9c8b5bad2947d3121b7763cda67eb6aab1 (diff) |
Change sign in ff_celp_lp_synthesis_filterf(). This makes this function
useful for AMR and RA144.
Patch by Kenan Gillet
Originally committed as revision 17546 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelp_lsp.c')
-rw-r--r-- | libavcodec/qcelp_lsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qcelp_lsp.c b/libavcodec/qcelp_lsp.c index fdc9ada233..a29f26263c 100644 --- a/libavcodec/qcelp_lsp.c +++ b/libavcodec/qcelp_lsp.c @@ -81,7 +81,7 @@ void ff_qcelp_lspf2lpc(const float *lspf, float *lpc) { double pa[6], qa[6]; int i; - double bandwith_expansion_coeff = -QCELP_BANDWITH_EXPANSION_COEFF * 0.5; + double bandwith_expansion_coeff = QCELP_BANDWITH_EXPANSION_COEFF * 0.5; lsp2polyf(lspf, pa, 5); lsp2polyf(lspf + 1, qa, 5); |