From 104e551b4249ff979a9d4a2e9936c27ceb336666 Mon Sep 17 00:00:00 2001 From: knj Date: Wed, 19 Jul 2023 15:21:13 +0200 Subject: [PATCH] fix usan error --- lib_com/ifft_rel.c | 4 ++++ lib_com/options.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/lib_com/ifft_rel.c b/lib_com/ifft_rel.c index fc267a7a10..44272cecce 100644 --- a/lib_com/ifft_rel.c +++ b/lib_com/ifft_rel.c @@ -229,7 +229,11 @@ void ifft_rel( *-----------------------------------------------------------------*/ idx = fft256_read_indexes; +#ifdef FIX_622_SILENCE_USAN_WARNING + xi0 = &temp[0] - 1; +#else xi0 = temp - 1; +#endif if ( n == 128 ) { for ( i = 0; i < n; i++ ) diff --git a/lib_com/options.h b/lib_com/options.h index b02e63cd1e..15db8559fb 100755 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -194,6 +194,8 @@ #define SPLIT_REND_WITH_HEAD_ROT /* Dlb,FhG: Split Rendering contributions 21 and 35 */ +#define FIX_622_SILENCE_USAN_WARNING /* FhG: silenceusan warning in ifft code */ + /* ################## End BE DEVELOPMENT switches ######################### */ -- GitLab