Commit 0c5f9f03 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix usan error by adding extra val in enum

parent b492f395
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -887,7 +887,12 @@ enum fea_names
#define MDCT_ST_PLC_FADEOUT_DELAY_4_LSP_FADE    3

typedef enum {
#ifdef FIX_619_ADD_UNDEF_VAL_FOR_CONCEALMENT_MODE
    NOISE_GEN_MODE_UNDEF = -1,
    EQUAL_CORES = 0,
#else
    EQUAL_CORES,
#endif
    TCX10_IN_0_TCX20_IN_1,
    TCX20_IN_0_TCX10_IN_1,
} TONALMDCTCONC_NOISE_GEN_MODE;
+2 −0
Original line number Diff line number Diff line
@@ -194,6 +194,8 @@

#define SPLIT_REND_WITH_HEAD_ROT                        /* Dlb,FhG: Split Rendering contributions 21 and 35 */

#define FIX_619_ADD_UNDEF_VAL_FOR_CONCEALMENT_MODE      /* FhG: fix usan error */

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


+4 −0
Original line number Diff line number Diff line
@@ -526,7 +526,11 @@ void ivas_mdct_core_invQ(

    sts = hCPE->hCoreCoder;
    bfi = sts[0]->bfi;
#ifdef FIX_619_ADD_UNDEF_VAL_FOR_CONCEALMENT_MODE
    noise_gen_mode_bfi = NOISE_GEN_MODE_UNDEF;
#else
    noise_gen_mode_bfi = -1;
#endif

    set_f( xn_buf, 0, L_MDCT_OVLP_MAX + L_FRAME_PLUS + L_MDCT_OVLP_MAX );
    set_s( total_nbbits, 0, CPE_CHANNELS );