summaryrefslogtreecommitdiff
path: root/media/libopus/silk/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'media/libopus/silk/sort.c')
-rw-r--r--media/libopus/silk/sort.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/media/libopus/silk/sort.c b/media/libopus/silk/sort.c
index 7187c9efb1..4fba16f831 100644
--- a/media/libopus/silk/sort.c
+++ b/media/libopus/silk/sort.c
@@ -48,9 +48,9 @@ void silk_insertion_sort_increasing(
opus_int i, j;
/* Safety checks */
- silk_assert( K > 0 );
- silk_assert( L > 0 );
- silk_assert( L >= K );
+ celt_assert( K > 0 );
+ celt_assert( L > 0 );
+ celt_assert( L >= K );
/* Write start indices in index vector */
for( i = 0; i < K; i++ ) {
@@ -96,9 +96,9 @@ void silk_insertion_sort_decreasing_int16(
opus_int value;
/* Safety checks */
- silk_assert( K > 0 );
- silk_assert( L > 0 );
- silk_assert( L >= K );
+ celt_assert( K > 0 );
+ celt_assert( L > 0 );
+ celt_assert( L >= K );
/* Write start indices in index vector */
for( i = 0; i < K; i++ ) {
@@ -141,7 +141,7 @@ void silk_insertion_sort_increasing_all_values_int16(
opus_int i, j;
/* Safety checks */
- silk_assert( L > 0 );
+ celt_assert( L > 0 );
/* Sort vector elements by value, increasing order */
for( i = 1; i < L; i++ ) {