shithub: opus

Download patch

ref: 59f42b5dcc5b5310eac81a46b81c95df2b2b2258
parent: 6e09f680f1ba29197fc949ed04832a2d8efc2b39
author: Jean-Marc Valin <[email protected]>
date: Fri Mar 21 08:49:36 EDT 2008

fix for TI version of celt_maxabs16()

--- a/libcelt/fixed_c5x.h
+++ b/libcelt/fixed_c5x.h
@@ -67,7 +67,7 @@
 #define celt_ilog2(x) (30 - _lnorm(x))
 #define OVERRIDE_CELT_ILOG2
 
-#define celt_maxabs16(x) MAX16(maxval((DATA *)x, len),-minval((DATA *)x, len))
+#define celt_maxabs16(x, len) MAX16(maxval((DATA *)x, len),-minval((DATA *)x, len))
 #define OVERRIDE_CELT_MAXABS16
 
 #endif /* FIXED_C5X_H */