diff options
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/decoder_set_fs.c')
-rw-r--r-- | lib/rbcodec/codecs/libopus/silk/decoder_set_fs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rbcodec/codecs/libopus/silk/decoder_set_fs.c b/lib/rbcodec/codecs/libopus/silk/decoder_set_fs.c index eef0fd25e1..d9a13d0f0c 100644 --- a/lib/rbcodec/codecs/libopus/silk/decoder_set_fs.c +++ b/lib/rbcodec/codecs/libopus/silk/decoder_set_fs.c | |||
@@ -40,8 +40,8 @@ opus_int silk_decoder_set_fs( | |||
40 | { | 40 | { |
41 | opus_int frame_length, ret = 0; | 41 | opus_int frame_length, ret = 0; |
42 | 42 | ||
43 | silk_assert( fs_kHz == 8 || fs_kHz == 12 || fs_kHz == 16 ); | 43 | celt_assert( fs_kHz == 8 || fs_kHz == 12 || fs_kHz == 16 ); |
44 | silk_assert( psDec->nb_subfr == MAX_NB_SUBFR || psDec->nb_subfr == MAX_NB_SUBFR/2 ); | 44 | celt_assert( psDec->nb_subfr == MAX_NB_SUBFR || psDec->nb_subfr == MAX_NB_SUBFR/2 ); |
45 | 45 | ||
46 | /* New (sub)frame length */ | 46 | /* New (sub)frame length */ |
47 | psDec->subfr_length = silk_SMULBB( SUB_FRAME_LENGTH_MS, fs_kHz ); | 47 | psDec->subfr_length = silk_SMULBB( SUB_FRAME_LENGTH_MS, fs_kHz ); |
@@ -86,7 +86,7 @@ opus_int silk_decoder_set_fs( | |||
86 | psDec->pitch_lag_low_bits_iCDF = silk_uniform4_iCDF; | 86 | psDec->pitch_lag_low_bits_iCDF = silk_uniform4_iCDF; |
87 | } else { | 87 | } else { |
88 | /* unsupported sampling rate */ | 88 | /* unsupported sampling rate */ |
89 | silk_assert( 0 ); | 89 | celt_assert( 0 ); |
90 | } | 90 | } |
91 | psDec->first_frame_after_reset = 1; | 91 | psDec->first_frame_after_reset = 1; |
92 | psDec->lagPrev = 100; | 92 | psDec->lagPrev = 100; |
@@ -101,7 +101,7 @@ opus_int silk_decoder_set_fs( | |||
101 | } | 101 | } |
102 | 102 | ||
103 | /* Check that settings are valid */ | 103 | /* Check that settings are valid */ |
104 | silk_assert( psDec->frame_length > 0 && psDec->frame_length <= MAX_FRAME_LENGTH ); | 104 | celt_assert( psDec->frame_length > 0 && psDec->frame_length <= MAX_FRAME_LENGTH ); |
105 | 105 | ||
106 | return ret; | 106 | return ret; |
107 | } | 107 | } |