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
This commit is contained in:
parent
69bcb28d3d
commit
7e3352ef51
29 changed files with 96 additions and 96 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue