Commit 2414cd11 authored by vasilache's avatar vasilache
Browse files

fix warnings

parent 0c17294c
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4551,7 +4551,9 @@ ivas_error acelp_core_dec(
    int16_t *unbits,                     /* o  : number of unused bits               */
    int16_t *sid_bw,                     /* o  : 0-NB/WB, 1-SWB SID                  */
    STEREO_TD_DEC_DATA_HANDLE hStereoTD, /* i/o: TD stereo decoder handle            */
#ifndef NONBE_1325_TD_STEREO_QUANT_LSF_SEC_TEST
    const float tdm_lspQ_PCh[M],         /* i  : Q LSPs for primary channel          */
#endif
    const float tdm_lsfQ_PCh[M],         /* i  : Q LSFs for primary channel          */
    const int16_t use_cldfb_for_dft,     /* i  : flag to use of CLDFB for DFT Stereo */
    const int16_t last_element_mode,     /* i  : last element mode                   */
+2 −0
Original line number Diff line number Diff line
@@ -67,7 +67,9 @@ ivas_error acelp_core_dec(
    int16_t *unbits,                     /* o  : number of unused bits                                                   */
    int16_t *sid_bw,                     /* o  : 0-NB/WB, 1-SWB SID                                                      */
    STEREO_TD_DEC_DATA_HANDLE hStereoTD, /* i/o: TD stereo decoder handle                                                */
#ifndef NONBE_1325_TD_STEREO_QUANT_LSF_SEC_TEST
    const float tdm_lspQ_PCh[M],         /* i  : Q LSPs for primary channel                                              */
#endif
    const float tdm_lsfQ_PCh[M],         /* i  : Q LSFs for primary channel                                              */
    const int16_t use_cldfb_for_dft,     /* i  : flag to use of CLDFB for DFT Stereo                                     */
    const int16_t last_element_mode,     /* i  : last element mode                                                       */
+5 −1
Original line number Diff line number Diff line
@@ -259,7 +259,11 @@ ivas_error evs_dec(
        if ( st->core == ACELP_CORE )
        {
            /* ACELP core decoder */
            if ( ( error = acelp_core_dec( st, NULL, synth, NULL, bwe_exc_extended, voice_factors, old_syn_12k8_16k, sharpFlag, pitch_buf, &unbits, &sid_bw, NULL, NULL, NULL, 0, EVS_MONO, 0, 0, 1, NULL, 1 ) ) != IVAS_ERR_OK )
            if ( ( error = acelp_core_dec( st, NULL, synth, NULL, bwe_exc_extended, voice_factors, old_syn_12k8_16k, sharpFlag, pitch_buf, &unbits, &sid_bw, NULL,
#ifndef NONBE_1325_TD_STEREO_QUANT_LSF_SEC_TEST
                NULL, 
 #endif               
                NULL, 0, EVS_MONO, 0, 0, 1, NULL, 1 ) ) != IVAS_ERR_OK )
            {
                return error;
            }
+5 −1
Original line number Diff line number Diff line
@@ -348,7 +348,11 @@ ivas_error ivas_core_dec(
        if ( st->core == ACELP_CORE )
        {
            /* ACELP core decoder */
            if ( ( error = acelp_core_dec( st, output[n], synth[n], save_hb_synth, bwe_exc_extended[n], voice_factors[n], old_syn_12k8_16k[n], sharpFlag[n], pitch_buf[n], &unbits[n], &sid_bw[n], hStereoTD, tdm_lspQ_PCh, tdm_lsfQ_PCh, use_cldfb_for_dft, last_element_mode, last_element_brate, flag_sec_CNA, nchan_out, hStereoCng, read_sid_info ) ) != IVAS_ERR_OK )
            if ( ( error = acelp_core_dec( st, output[n], synth[n], save_hb_synth, bwe_exc_extended[n], voice_factors[n], old_syn_12k8_16k[n], sharpFlag[n], pitch_buf[n], &unbits[n], &sid_bw[n], hStereoTD, 
 #ifndef NONBE_1325_TD_STEREO_QUANT_LSF_SEC_TEST               
                tdm_lspQ_PCh,
 #endif               
                tdm_lsfQ_PCh, use_cldfb_for_dft, last_element_mode, last_element_brate, flag_sec_CNA, nchan_out, hStereoCng, read_sid_info ) ) != IVAS_ERR_OK )
            {
                return error;
            }