summaryrefslogtreecommitdiff
path: root/silk/float/apply_sine_window_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/apply_sine_window_FLP.c
parent7e3352ef517379c9ab42a2416b444882ff86aec6 (diff)
downloadopus-e69fc1995efb6ed9baa1d30bdac12dc37a06f62c.tar.gz
Hardening asserts for SILK float
Diffstat (limited to 'silk/float/apply_sine_window_FLP.c')
-rw-r--r--silk/float/apply_sine_window_FLP.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/float/apply_sine_window_FLP.c b/silk/float/apply_sine_window_FLP.c
index 6aae57c0..e49e7179 100644
--- a/silk/float/apply_sine_window_FLP.c
+++ b/silk/float/apply_sine_window_FLP.c
@@ -45,10 +45,10 @@ void silk_apply_sine_window_FLP(
opus_int k;
silk_float freq, c, S0, S1;
- silk_assert( win_type == 1 || win_type == 2 );
+ celt_assert( win_type == 1 || win_type == 2 );
/* Length must be multiple of 4 */
- silk_assert( ( length & 3 ) == 0 );
+ celt_assert( ( length & 3 ) == 0 );
freq = PI / ( length + 1 );