mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
small cleanups
resample: remove unused index variable
This commit is contained in:
parent
98d10bbd1f
commit
0154e6eaac
6 changed files with 12 additions and 16 deletions
|
|
@ -112,7 +112,7 @@ static int impl_peaks_init(struct resample *r)
|
|||
r->reset = impl_peaks_reset;
|
||||
d = r->data = calloc(1, sizeof(struct peaks_data) * sizeof(float) * r->channels);
|
||||
if (r->data == NULL)
|
||||
return -ENOMEM;
|
||||
return -errno;
|
||||
|
||||
d->i_count = d->o_count = 0;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue