diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-10-01 03:50:36 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-10-01 03:50:36 +0400 |
commit | 55788c8c857f28f3b5e6d14cab978398d79fcf24 (patch) | |
tree | 0976aa38b10b9ac7ecc09b6045beccbfbea7f239 /silk/LPC_inv_pred_gain.c | |
parent | 342d654c267d14f23c484042d40ffd9567feeeb8 (diff) |
Assertion update for commit b23a6ca5
Diffstat (limited to 'silk/LPC_inv_pred_gain.c')
-rw-r--r-- | silk/LPC_inv_pred_gain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/LPC_inv_pred_gain.c b/silk/LPC_inv_pred_gain.c index addeb043..93c95705 100644 --- a/silk/LPC_inv_pred_gain.c +++ b/silk/LPC_inv_pred_gain.c @@ -64,7 +64,7 @@ static opus_int LPC_inverse_pred_gain_QA( /* O: Returns 1 if unstable, /* rc_mult1_Q30 range: [ 1 : 2^30 ] */ rc_mult1_Q30 = ( (opus_int32)1 << 30 ) - silk_SMMUL( rc_Q31, rc_Q31 ); silk_assert( rc_mult1_Q30 > ( 1 << 15 ) ); /* reduce A_LIMIT if fails */ - silk_assert( rc_mult1_Q30 < ( 1 << 30 ) ); + silk_assert( rc_mult1_Q30 <= ( 1 << 30 ) ); /* rc_mult2 range: [ 2^30 : silk_int32_MAX ] */ mult2Q = 32 - silk_CLZ32( silk_abs( rc_mult1_Q30 ) ); |