spa: audioconvert: benchmark-fmt-ops: initialize convert

Since c02cdcb5ce ("audioconvert: add avx2 optimized s32_to f32d")
`conv_s32_to_f32d_avx2()` reads `convert::cpu_flags`, which was
previously unitiailized, fix that by setting it to 0.
This commit is contained in:
Barnabás Pőcze 2026-03-24 17:49:39 +01:00
parent 39f4cbfc98
commit 22c1a16dce

View file

@ -51,9 +51,9 @@ static void run_test1(const char *name, const char *impl, bool in_packed, bool o
void *op[n_channels]; void *op[n_channels];
struct timespec ts; struct timespec ts;
uint64_t count, t1, t2; uint64_t count, t1, t2;
struct convert conv; struct convert conv = {
.n_channels = n_channels,
conv.n_channels = n_channels; };
for (j = 0; j < n_channels; j++) { for (j = 0; j < n_channels; j++) {
ip[j] = &samp_in[j * n_samples * 4]; ip[j] = &samp_in[j * n_samples * 4];