mirror of
https://github.com/xiph/opus.git
synced 2025-05-25 20:59:13 +00:00
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
|
@ -60,7 +60,7 @@ opus_int32 silk_NLSF_encode( /* O Returns
|
|||
const opus_int16 *pCB_Wght_Q9;
|
||||
SAVE_STACK;
|
||||
|
||||
silk_assert( signalType >= 0 && signalType <= 2 );
|
||||
celt_assert( signalType >= 0 && signalType <= 2 );
|
||||
silk_assert( NLSF_mu_Q20 <= 32767 && NLSF_mu_Q20 >= 0 );
|
||||
|
||||
/* NLSF stabilization */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue