diff options
-rw-r--r-- | silk/encode_indices.c | 1 | ||||
-rw-r--r-- | silk/process_NLSFs.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/silk/encode_indices.c b/silk/encode_indices.c index aa4585f4..6d8e82a1 100644 --- a/silk/encode_indices.c +++ b/silk/encode_indices.c @@ -127,7 +127,6 @@ void silk_encode_indices( /* Encode NLSF interpolation factor */ if( psEncC->nb_subfr == MAX_NB_SUBFR ) { - silk_assert( psEncC->useInterpolatedNLSFs == 1 || psIndices->NLSFInterpCoef_Q2 == ( 1 << 2 ) ); silk_assert( psIndices->NLSFInterpCoef_Q2 >= 0 && psIndices->NLSFInterpCoef_Q2 < 5 ); ec_enc_icdf( psRangeEnc, psIndices->NLSFInterpCoef_Q2, silk_NLSF_interpolation_factor_iCDF, 8 ); } diff --git a/silk/process_NLSFs.c b/silk/process_NLSFs.c index 2c87f013..e077627c 100644 --- a/silk/process_NLSFs.c +++ b/silk/process_NLSFs.c @@ -48,6 +48,7 @@ void silk_process_NLSFs( silk_assert( psEncC->speech_activity_Q8 >= 0 ); silk_assert( psEncC->speech_activity_Q8 <= SILK_FIX_CONST( 1.0, 8 ) ); + silk_assert( psEncC->useInterpolatedNLSFs == 1 || psEncC->indices.NLSFInterpCoef_Q2 == ( 1 << 2 ) ); /***********************/ /* Calculate mu values */ |