aboutsummaryrefslogtreecommitdiff
path: root/silk/float/find_pred_coefs_FLP.c
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2018-03-26 03:23:09 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2018-03-27 15:13:27 -0400
commite69fc1995efb6ed9baa1d30bdac12dc37a06f62c (patch)
tree096280a5f123ae3b6e77663a12169373a4a1c27f /silk/float/find_pred_coefs_FLP.c
parent7e3352ef517379c9ab42a2416b444882ff86aec6 (diff)
downloadlibopus-e69fc1995efb6ed9baa1d30bdac12dc37a06f62c.tar.gz
Hardening asserts for SILK float
Diffstat (limited to 'silk/float/find_pred_coefs_FLP.c')
-rw-r--r--silk/float/find_pred_coefs_FLP.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/float/find_pred_coefs_FLP.c b/silk/float/find_pred_coefs_FLP.c
index cb2e763b..dcf7c520 100644
--- a/silk/float/find_pred_coefs_FLP.c
+++ b/silk/float/find_pred_coefs_FLP.c
@@ -59,7 +59,7 @@ void silk_find_pred_coefs_FLP(
/**********/
/* VOICED */
/**********/
- silk_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + LTP_ORDER / 2 );
+ celt_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + LTP_ORDER / 2 );
/* LTP analysis */
silk_find_LTP_FLP( XXLTP, xXLTP, res_pitch, psEncCtrl->pitchL, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr );