Commit 935c8e25 authored by vaillancour's avatar vaillancour
Browse files

fix for 2268, to silence clang18, will add some complexity to the ifft

parent d3508f9d
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -139,7 +139,12 @@ void ifft_rel_fx(
        /*Can be acheived with a shr */
        step = idiv1616( N_MAX_SAS, n2 );
        move16();

#ifdef FIX_2268_OOB_INDEXING_IN_IFFT
        IF( LT_16( n8, 2) )
        {
            continue;
        }
#endif
        s = sincos_t_fx + step;                /*Q15 */
        c = s + 64;                            /*Q15 */
        s3 = sincos_t_fx + i_mult2( step, 3 ); /*Q15 */
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@
#define FIX_2252_SCALING_SAVE_HB_SYNTH                  /* VA: issue 2252: fix use-of-uninit-value in save_hb_synth_fx[] scaling in FOA decoding with bitstream that starts with an SID */
#define FIX_2248_EVS_ASSERT                             /* VA: Include _sat in an EVS related part of the code */
#define FIX_2254_IMPROV_COMPLEXITY_BE                   /* VA: BE small complexity reduction  */

#define FIX_2268_OOB_INDEXING_IN_IFFT                   /* VA: Fix for issue 2268, to silence clang18 */
/* #################### End BE switches ################################## */

/* #################### Start NON-BE switches ############################ */