summaryrefslogtreecommitdiff
path: root/libs/libopus/silk/fixed/apply_sine_window_FIX.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libopus/silk/fixed/apply_sine_window_FIX.c')
-rw-r--r--libs/libopus/silk/fixed/apply_sine_window_FIX.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/libopus/silk/fixed/apply_sine_window_FIX.c b/libs/libopus/silk/fixed/apply_sine_window_FIX.c
index 4502b7130..03e088a6d 100644
--- a/libs/libopus/silk/fixed/apply_sine_window_FIX.c
+++ b/libs/libopus/silk/fixed/apply_sine_window_FIX.c
@@ -57,15 +57,15 @@ void silk_apply_sine_window(
opus_int k, f_Q16, c_Q16;
opus_int32 S0_Q16, S1_Q16;
- silk_assert( win_type == 1 || win_type == 2 );
+ celt_assert( win_type == 1 || win_type == 2 );
/* Length must be in a range from 16 to 120 and a multiple of 4 */
- silk_assert( length >= 16 && length <= 120 );
- silk_assert( ( length & 3 ) == 0 );
+ celt_assert( length >= 16 && length <= 120 );
+ celt_assert( ( length & 3 ) == 0 );
/* Frequency */
k = ( length >> 2 ) - 4;
- silk_assert( k >= 0 && k <= 26 );
+ celt_assert( k >= 0 && k <= 26 );
f_Q16 = (opus_int)freq_table_Q16[ k ];
/* Factor used for cosine approximation */