mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-26 07:58:03 -04:00
Merge branch 'spa_audioconvert_fix_uninit_read2' into 'master'
spa: audioconvert: benchmark-fmt-ops: initialize `convert` See merge request pipewire/pipewire!2763
This commit is contained in:
commit
b7e4e1f7a5
1 changed files with 3 additions and 3 deletions
|
|
@ -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];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue