summaryrefslogtreecommitdiff
path: root/silk/fixed
diff options
context:
space:
mode:
authorKoen Vos <koenvos@users.noreply.github.com>2016-06-01 16:10:57 +0800
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-19 16:11:18 -0400
commit3e054b8e57f5439b428b3d4773eec5137d3bb783 (patch)
tree9984347371b6f76e67c36c8794b564c0b2d80235 /silk/fixed
parentf06774c64072e09936e262a1bfbad54b9a15e42f (diff)
downloadopus-3e054b8e57f5439b428b3d4773eec5137d3bb783.tar.gz
increase order of noise shaping filter
Diffstat (limited to 'silk/fixed')
-rw-r--r--silk/fixed/schur64_FIX.c2
-rw-r--r--silk/fixed/schur_FIX.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/silk/fixed/schur64_FIX.c b/silk/fixed/schur64_FIX.c
index 764a10ef..4d3b0932 100644
--- a/silk/fixed/schur64_FIX.c
+++ b/silk/fixed/schur64_FIX.c
@@ -43,7 +43,7 @@ opus_int32 silk_schur64( /* O returns residual ene
opus_int32 C[ SILK_MAX_ORDER_LPC + 1 ][ 2 ];
opus_int32 Ctmp1_Q30, Ctmp2_Q30, rc_tmp_Q31;
- silk_assert( order==6||order==8||order==10||order==12||order==14||order==16 );
+ silk_assert( order <= SILK_MAX_ORDER_LPC );
/* Check for invalid input */
if( c[ 0 ] <= 0 ) {
diff --git a/silk/fixed/schur_FIX.c b/silk/fixed/schur_FIX.c
index c4c0ef23..9fe7f419 100644
--- a/silk/fixed/schur_FIX.c
+++ b/silk/fixed/schur_FIX.c
@@ -43,7 +43,7 @@ opus_int32 silk_schur( /* O Returns residual ene
opus_int32 C[ SILK_MAX_ORDER_LPC + 1 ][ 2 ];
opus_int32 Ctmp1, Ctmp2, rc_tmp_Q15;
- silk_assert( order==6||order==8||order==10||order==12||order==14||order==16 );
+ silk_assert( order <= SILK_MAX_ORDER_LPC );
/* Get number of leading zeros */
lz = silk_CLZ32( c[ 0 ] );