Loading lib_enc/hq_classifier_enc.c +1 −1 Original line number Diff line number Diff line Loading @@ -574,7 +574,7 @@ static int16_t hf_spectrum_sparseness( crest_mod = 0.0f; maximum( A, L_SPEC_HB, &Amax ); #ifdef NONBE_1233_HQ_CLASSIFIER_DIV_BY_ZERO if ( A == 0 ) if ( Amax == 0 ) { /* For all-zero input the crest is 1.0 */ crest = 1.0f; Loading Loading
lib_enc/hq_classifier_enc.c +1 −1 Original line number Diff line number Diff line Loading @@ -574,7 +574,7 @@ static int16_t hf_spectrum_sparseness( crest_mod = 0.0f; maximum( A, L_SPEC_HB, &Amax ); #ifdef NONBE_1233_HQ_CLASSIFIER_DIV_BY_ZERO if ( A == 0 ) if ( Amax == 0 ) { /* For all-zero input the crest is 1.0 */ crest = 1.0f; Loading