shithub: opus

Download patch

ref: aef369f536ecb89ab94c2c6bc6b6e0a767fab39d
parent: 73808cf8ba20b3efa36d271ee066808c79154513
author: Jean-Marc Valin <[email protected]>
date: Tue May 30 10:26:38 EDT 2017

silk_LIMIT_32() should return an opus_int32 (not opus_int)

Thanks to petrufm for pointing that out:
https://github.com/xiph/opus/issues/35

--- a/silk/MacroCount.h
+++ b/silk/MacroCount.h
@@ -691,7 +691,7 @@
 
 
 #undef silk_LIMIT_32
-static OPUS_INLINE opus_int silk_LIMIT_32(opus_int32 a, opus_int32 limit1, opus_int32 limit2)
+static OPUS_INLINE opus_int32 silk_LIMIT_32(opus_int32 a, opus_int32 limit1, opus_int32 limit2)
 {
     opus_int32 ret;
     ops_count += 6;