summaryrefslogtreecommitdiff
path: root/silk/float
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/float
parentf06774c64072e09936e262a1bfbad54b9a15e42f (diff)
downloadopus-3e054b8e57f5439b428b3d4773eec5137d3bb783.tar.gz
increase order of noise shaping filter
Diffstat (limited to 'silk/float')
-rw-r--r--silk/float/schur_FLP.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/silk/float/schur_FLP.c b/silk/float/schur_FLP.c
index d44389fd..f4b4072f 100644
--- a/silk/float/schur_FLP.c
+++ b/silk/float/schur_FLP.c
@@ -41,7 +41,7 @@ silk_float silk_schur_FLP( /* O returns residual energy
double C[ SILK_MAX_ORDER_LPC + 1 ][ 2 ];
double Ctmp1, Ctmp2, rc_tmp;
- silk_assert( order==6||order==8||order==10||order==12||order==14||order==16 );
+ silk_assert( order <= SILK_MAX_ORDER_LPC );
/* Copy correlations */
for( k = 0; k < order+1; k++ ) {
@@ -67,4 +67,3 @@ silk_float silk_schur_FLP( /* O returns residual energy
/* Return residual energy */
return (silk_float)C[ 0 ][ 1 ];
}
-