From ced57514f499b26d6be56374e72b7e7bdbdf9ebf Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Mon, 21 Oct 2024 21:07:17 +0300 Subject: [PATCH] filter-chain: fix array size for avx dsp-ops-avx.c:205:18: warning: array subscript 1 is above array bounds of '__m256[1]' dsp-ops-avx.c:185:37: note: while referencing 't' --- src/modules/module-filter-chain/dsp-ops-avx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-filter-chain/dsp-ops-avx.c b/src/modules/module-filter-chain/dsp-ops-avx.c index 126f280bc..3a771d567 100644 --- a/src/modules/module-filter-chain/dsp-ops-avx.c +++ b/src/modules/module-filter-chain/dsp-ops-avx.c @@ -182,7 +182,7 @@ void dsp_fft_cmuladd_avx(struct dsp_ops *ops, void *fft, { #ifdef HAVE_FFTW __m256 s = _mm256_set1_ps(scale); - __m256 aa[2], bb[2], dd[2], t[1]; + __m256 aa[2], bb[2], dd[2], t[2]; uint32_t i, unrolled; if (SPA_IS_ALIGNED(a, 32) &&