Commit 57662438 authored by vaclav's avatar vaclav
Browse files

fix gp_clip_test_lsf_fx()

parent 60854255
Loading
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -148,7 +148,19 @@ void lsf_enc_fx(
    lsp2lsf_fx( lsp_new, lsf_new, M, int_fs );

    /* check resonance for pitch clipping algorithm */
#ifdef HARM_LSF_ENC
    IF( st_fx->element_mode == EVS_MONO )
    {
        gp_clip_test_lsf_fx( st_fx->element_mode, lsf_new, st_fx->clip_var_fx, 0 );
    }
    ELSE
    {
        gp_clip_test_lsf_ivas_fx( st_fx->element_mode, st_fx->core_brate, lsf_new, st_fx->clip_var_fx, 0 );
    }
#else
    gp_clip_test_lsf_fx( st_fx->element_mode, lsf_new, st_fx->clip_var_fx, 0 );
#endif


    /* Find the number of bits for LSF quantization */
    nBits = 0;