Commit 791742b8 authored by vaclav's avatar vaclav
Browse files

formatting

parent 4ea3d852
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -102,8 +102,8 @@
#define FIX_2287_MCT_MDCT_STEREO_DATA_MALLOC_SIZE       /* FhG: correct allocation size for STEREO_MDCT_DEC_DATA struct */
#define FIX_1904_HARM_GSC_ENC                           /* VA: #1904 Harmonization of EVS and IVAS GSC code */
#define FIX_2271_OOB_INDEXING_IN_PIT_OL2                /* VA: Fix for issue 2271, to silence clang18 */

#define FIX_2273_OOB_INDEXING_IN_PIT_FR4                /* VA: Fix to silence clang on ptr init */

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

/* #################### Start NON-BE switches ############################ */
+4 −0
Original line number Diff line number Diff line
@@ -765,6 +765,7 @@ Word16 pitch_fr4_fx(
#ifdef FIX_2273_OOB_INDEXING_IN_PIT_FR4
    Word16 corr_off;
#endif

    /* initialization */
    IF( limit_flag == 0 )
    {
@@ -807,6 +808,7 @@ Word16 pitch_fr4_fx(

    t_min = sub( t0_min, L_INTERPOL1 );
    t_max = add( t0_max, L_INTERPOL1 );

#ifndef FIX_2273_OOB_INDEXING_IN_PIT_FR4
    corr = &corr_v[-t_min];
#else
@@ -814,6 +816,7 @@ Word16 pitch_fr4_fx(
    corr_off = -t_min;
    move16();
#endif

    /* corr[t_min..t_max] */
#ifndef FIX_2273_OOB_INDEXING_IN_PIT_FR4
    if ( element_mode > EVS_MONO )
@@ -834,6 +837,7 @@ Word16 pitch_fr4_fx(
        norm_corr_fx( exc, xn, h, t_min, t_max, corr + corr_off, L_subfr );
    }
#endif

    /*-----------------------------------------------------------------*
     * Find integer pitch
     *-----------------------------------------------------------------*/