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'
This commit is contained in:
Pauli Virtanen 2024-10-21 21:07:17 +03:00
parent 22c45af7e0
commit ced57514f4

View file

@ -182,7 +182,7 @@ void dsp_fft_cmuladd_avx(struct dsp_ops *ops, void *fft,
{ {
#ifdef HAVE_FFTW #ifdef HAVE_FFTW
__m256 s = _mm256_set1_ps(scale); __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; uint32_t i, unrolled;
if (SPA_IS_ALIGNED(a, 32) && if (SPA_IS_ALIGNED(a, 32) &&