changeset 6774:ca449dc51bd7 libavcodec

Fix compilation error. It was introduced after changing input parameter and overlooked during review process.
author voroshil
date Sun, 11 May 2008 05:28:29 +0000
parents ec58e76c25a3
children 1f02f929b9ff
files lsp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lsp.c	Sun May 11 04:25:34 2008 +0000
+++ b/lsp.c	Sun May 11 05:28:29 2008 +0000
@@ -96,7 +96,7 @@
 
         ff1 += 1 << 10; // for rounding
         lp[i]    = (ff1 + ff2) >> 11; // divide by 2 and (3.22) -> (3.12)
-        lp[lp_order + 1 - i] = (ff1 - ff2) >> 11; // divide by 2 and (3.22) -> (3.12)
+        lp[(lp_half_order << 1) + 1 - i] = (ff1 - ff2) >> 11; // divide by 2 and (3.22) -> (3.12)
     }
 }