diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2018-03-24 09:16:15 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2018-03-27 22:13:27 +0300 |
commit | 7e3352ef517379c9ab42a2416b444882ff86aec6 (patch) | |
tree | 0d53c0120e5225689563dc4cf7cd1632df6cabbb /silk/interpolate.c | |
parent | 69bcb28d3ddb20231580bd09e44d87a769dabcb7 (diff) |
Converting some silk_assert()s into hardening celt_assert()s
Only converted the ones that are really sure (not signal-dependent)
and that shouldn't add much run-time complexity
Diffstat (limited to 'silk/interpolate.c')
-rw-r--r-- | silk/interpolate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/interpolate.c b/silk/interpolate.c index 1bd8ca4d..833c28ef 100644 --- a/silk/interpolate.c +++ b/silk/interpolate.c @@ -42,8 +42,8 @@ void silk_interpolate( { opus_int i; - silk_assert( ifact_Q2 >= 0 ); - silk_assert( ifact_Q2 <= 4 ); + celt_assert( ifact_Q2 >= 0 ); + celt_assert( ifact_Q2 <= 4 ); for( i = 0; i < d; i++ ) { xi[ i ] = (opus_int16)silk_ADD_RSHIFT( x0[ i ], silk_SMULBB( x1[ i ] - x0[ i ], ifact_Q2 ), 2 ); |