Commit a9749cc2 authored by vaillancour's avatar vaillancour Committed by Manuel Jander
Browse files

fix unused parameter

parent b375c5bf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -422,7 +422,9 @@ Word16 Pit_exc_contribution_len_ivas_fx( /* o : bin wher
                                         const Word16 *dct_res, /* i  : DCT of residual                                 Q_new*/
                                         Word16 *dct_pitex,     /* i/o: DCT of pitch contribution                       Q_new*/
                                         Word16 *pitch_buf,     /* i/o: Pitch per subframe                              Q6*/
#ifndef FIX_2253_CORRECT_GSC_MINIMUM_PIT_SEARCH
                                         const Word16 nb_subfr, /* i  : Number of subframe considered                   Q0*/
#endif
                                         Word16 *hangover,      /* i  : hangover for the time contribution switching    Q0*/
                                         Word16 Qnew )
{
+4 −0
Original line number Diff line number Diff line
@@ -675,7 +675,11 @@ void encod_audio_ivas_fx(
     * Find and encode the last band where the adaptive (pitch) contribution is significant
     *---------------------------------------------------------------*/

#ifndef FIX_2253_CORRECT_GSC_MINIMUM_PIT_SEARCH
    last_pit_bin = Pit_exc_contribution_len_ivas_fx( st_fx, dct_res, dct_epit, pitch_buf, nb_subfr, &hGSCEnc->pit_exc_hangover, Q_new );
#else
    last_pit_bin = Pit_exc_contribution_len_ivas_fx( st_fx, dct_res, dct_epit, pitch_buf, &hGSCEnc->pit_exc_hangover, Q_new );
#endif

    IF( last_pit_bin == 0 )
    {
+2 −0
Original line number Diff line number Diff line
@@ -4050,7 +4050,9 @@ Word16 Pit_exc_contribution_len_ivas_fx(
    const Word16 *dct_res, /* i  : DCT of residual                 Qnew*/
    Word16 *dct_pitex,     /* i/o: DCT of pitch contribution       Qnew*/
    Word16 *pitch_buf,     /* i/o: Pitch per subframe              Q6*/
#ifndef FIX_2253_CORRECT_GSC_MINIMUM_PIT_SEARCH
    const Word16 nb_subfr, /* i  : Number of subframe considered   Q0*/
#endif
    Word16 *hangover,      /* i  : hangover for the time contribution switching Q0*/
    Word16 Qnew );