fix for TI version of celt_maxabs16()
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 21 Mar 2008 01:49:36 +0000 (12:49 +1100)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 21 Mar 2008 01:49:36 +0000 (12:49 +1100)
libcelt/fixed_c5x.h

index 76bf47d..864aa56 100644 (file)
@@ -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 */