shithub: opus

Download patch

ref: 55788c8c857f28f3b5e6d14cab978398d79fcf24
parent: 342d654c267d14f23c484042d40ffd9567feeeb8
author: Jean-Marc Valin <[email protected]>
date: Fri Sep 30 15:50:36 EDT 2011

Assertion update for commit b23a6ca5

--- a/silk/LPC_inv_pred_gain.c
+++ b/silk/LPC_inv_pred_gain.c
@@ -64,7 +64,7 @@
         /* 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 ) );