Commit f4fa2866 authored by vaillancour's avatar vaillancour
Browse files

fix gcc warning

parent a2d668cd
Loading
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -871,8 +871,12 @@ void td_stereo_param_updt_fx(
    Word16 tdm_lsfQ_PCh_fx[],          /* o  : Q LSFs for primary channel    Qx2.56*/
    Word16 tdm_Pri_pitch_buf_fx[],     /* o  : pitch values for primary channel    Q_var */
    const Word16 flag_ACELP16k,        /* i  : ACELP@16kHz flag                    */
    const Word16 tdm_use_IAWB_Ave_lpc, /* i  : flag to indicate the usage of mean inactive LP coefficients */
    Word16 Q_var )
    const Word16 tdm_use_IAWB_Ave_lpc  /* i  : flag to indicate the usage of mean inactive LP coefficients */
#ifndef FIX_798_WRONG_CPY_OF_PITCH
    , 
    Word16 Q_var 
#endif
)
{
    Word16 i;
    /* Copy some primary channel information into the secondary channel structure for later usage */
@@ -894,7 +898,6 @@ void td_stereo_param_updt_fx(
        Copy( lsf_old_PCh_fx, tdm_lsfQ_PCh_fx, M );
    }
#ifdef FIX_798_WRONG_CPY_OF_PITCH
    Q_var = 0;
    IF( EQ_16( flag_ACELP16k, 1 ) )
    {
        Word16 tmp16;
+6 −1
Original line number Diff line number Diff line
@@ -538,7 +538,12 @@ ivas_error ivas_core_dec(
            Copy_Scale_sig_32_16( hCPE->hCoreCoder[0]->old_pitch_buf_fx, hCPE->hCoreCoder[0]->old_pitch_buf_16_fx, 2 * NB_SUBFR16k + 2, -10 );

            td_stereo_param_updt_fx( st->lsp_old_fx, st->lsf_old_fx, st->old_pitch_buf_16_fx + st->nb_subfr,
                                     tdm_lspQ_PCh_fx, tdm_lsfQ_PCh_fx, hStereoTD->tdm_Pri_pitch_buf_fx, st->flag_ACELP16k, hStereoTD->tdm_use_IAWB_Ave_lpc, Q6 );
                                     tdm_lspQ_PCh_fx, tdm_lsfQ_PCh_fx, hStereoTD->tdm_Pri_pitch_buf_fx, st->flag_ACELP16k, hStereoTD->tdm_use_IAWB_Ave_lpc
#ifndef FIX_798_WRONG_CPY_OF_PITCH
                                     ,
                                     Q6 
#endif
            );

            Copy_Scale_sig_16_32( hCPE->hCoreCoder[0]->old_pitch_buf_16_fx, hCPE->hCoreCoder[0]->old_pitch_buf_fx, 2 * NB_SUBFR16k + 2, 10 );
        }