summaryrefslogtreecommitdiff
path: root/libavcodec/lsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/lsp.c')
-rw-r--r--libavcodec/lsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lsp.c b/libavcodec/lsp.c
index d2785f7183..f57f621350 100644
--- a/libavcodec/lsp.c
+++ b/libavcodec/lsp.c
@@ -72,7 +72,7 @@ static void lsp2poly(int* f, const int16_t* lsp, int lp_half_order)
{
f[i] = f[i-2];
for(j=i; j>1; j--)
- f[j] -= MULL(f[j-1], lsp[2*i-2]) - f[j-2];
+ f[j] -= MULL(f[j-1], lsp[2*i-2], FRAC_BITS) - f[j-2];
f[1] -= lsp[2*i-2] << 8;
}