shithub: opus

Download patch

ref: 692c33f8bb36ed9e1fd34c852899de82be815b85
parent: 5a70097d7940a1e5a6a1a419ca1c55948d3d0e87
author: Jean-Marc Valin <[email protected]>
date: Sun Aug 9 05:21:48 EDT 2009

Fixes typo in C6x macro.

--- a/libcelt/fixed_c6x.h
+++ b/libcelt/fixed_c6x.h
@@ -45,7 +45,7 @@
 #define OVERRIDE_CELT_ILOG2
 
 #undef MULT16_32_Q15
-#define MULT16_32_Q15(a,b) ADD32(SHL(_mpylh(a,b),1), SHR(_mpsu(a,b),15)
+#define MULT16_32_Q15(a,b) (_mpylill(a, b) >> 15)
 
 #if 0
 #include "dsplib.h"