Commit 01f31ed7 authored by malenov's avatar malenov
Browse files

remove set_f(.,.,0) call in which length is always 0 to remove GCC 12.0 warning

parent 5c6931f1
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -157,6 +157,7 @@
#define FIX_929_RENDERER_CMDL                           /* Nokia: issue #929: renderer command line option */
#define FIX_910_REMOVE_DUPLICATION_TD_REND              /* VA: issue 910: remove duplication of function ivas_td_binaural_renderer() */
#define FIX_940_DEBUGGING_VARIABLE                      /* Nokia: issue #940: remove debugging variable */
#define FIX_938_GCC_12_WARNINGS                         /* VoiceAge: issue #938: remove set_f(.,.,0) call in which length is always 0 to remove GCC 12.0 warning */

/* #################### End BE switches ################################## */

+2 −0
Original line number Diff line number Diff line
@@ -242,7 +242,9 @@ void transf_cdbk_enc(
        x_tran[i] = (float) ( x_norm[i] );
    }

#ifndef FIX_938_GCC_12_WARNINGS
    set_f( x_tran + Nsv * WIDTH_BAND, 0.0f, L_SUBFR - WIDTH_BAND * Nsv );
#endif

    if ( st->coder_type != INACTIVE && st->core_brate >= MIN_BRATE_AVQ_EXC && st->core_brate <= MAX_BRATE_AVQ_EXC_TD && !harm_flag_acelp )
    {