diff lsp.c @ 8201:c6e2ffef3797 libavcodec

Add shift argument to MULL() macro This replaces use of FRAC_BITS in the MULL() definition with a third argument specifying the shift amount. All uses of this macro are updated to pass FRAC_BITS as third argument.
author mru
date Mon, 24 Nov 2008 09:28:55 +0000
parents ecb1962c12f3
children c1cfa4679371
line wrap: on
line diff
--- a/lsp.c	Mon Nov 24 00:14:33 2008 +0000
+++ b/lsp.c	Mon Nov 24 09:28:55 2008 +0000
@@ -72,7 +72,7 @@
     {
         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;
     }