Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2018-03-24 09:16:15 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2018-03-27 22:13:27 +0300
commit7e3352ef517379c9ab42a2416b444882ff86aec6 (patch)
tree0d53c0120e5225689563dc4cf7cd1632df6cabbb /silk/resampler_down2.c
parent69bcb28d3ddb20231580bd09e44d87a769dabcb7 (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/resampler_down2.c')
-rw-r--r--silk/resampler_down2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/resampler_down2.c b/silk/resampler_down2.c
index cec36346..971d7bfd 100644
--- a/silk/resampler_down2.c
+++ b/silk/resampler_down2.c
@@ -43,8 +43,8 @@ void silk_resampler_down2(
opus_int32 k, len2 = silk_RSHIFT32( inLen, 1 );
opus_int32 in32, out32, Y, X;
- silk_assert( silk_resampler_down2_0 > 0 );
- silk_assert( silk_resampler_down2_1 < 0 );
+ celt_assert( silk_resampler_down2_0 > 0 );
+ celt_assert( silk_resampler_down2_1 < 0 );
/* Internal variables and state are in Q10 format */
for( k = 0; k < len2; k++ ) {