diff --git a/lib_com/ifft_rel.c b/lib_com/ifft_rel.c index bda95ec0b11cbf961a39b49b7d1e4d3c54e64c83..f2d07669c78f7464df7f9ee1774cc3ab59eda982 100644 --- a/lib_com/ifft_rel.c +++ b/lib_com/ifft_rel.c @@ -130,7 +130,12 @@ void ifft_rel( id = 4 * id; } step = N_MAX_FFT / n2; - +#ifdef FIX_2268_OOB_INDEXING_IN_IFFT + if ( n8 < 2 ) + { + continue; + } +#endif s = sincos_t_ext + step; c = s + N_MAX_FFT / 4; s3 = sincos_t_ext + 3 * step; diff --git a/lib_com/options.h b/lib_com/options.h index fb505d58f481299bb6523091c5fb389dfbd5ef51..47fef951b3b846bf96a9805056b1114957efb859 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -170,6 +170,7 @@ #define FIX_2274_OOB_INDEXING_IN_CORRMATRIX /* FhG: fix OOB indexing complaint */ #define FIX_2278_OOB_INDEXING_IN_CLOSED_LOOP_PIT_SEARCH /* FhG: fix oob indexing USAN complaint */ #define FIX_2287_MCT_MDCT_STEREO_DATA_MALLOC_SIZE /* FhG: correct allocation size for STEREO_MDCT_DEC_DATA struct */ +#define FIX_2268_OOB_INDEXING_IN_IFFT /* VA: Fix for issue 2268, to silence clang18 */ /* #################### End BE switches ################################## */