Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2017-05-30 21:26:38 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-05-30 21:26:38 +0300
commitaef369f536ecb89ab94c2c6bc6b6e0a767fab39d (patch)
treee6e8fe5422aa7bdc4d5b564edd1317c33e363f44
parent73808cf8ba20b3efa36d271ee066808c79154513 (diff)
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
-rw-r--r--silk/MacroCount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/MacroCount.h b/silk/MacroCount.h
index 54dbdbd9..78100ffe 100644
--- a/silk/MacroCount.h
+++ b/silk/MacroCount.h
@@ -691,7 +691,7 @@ return(ret);
#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;