pipewire/spa/plugins
Barnabás Pőcze d2114c3f2e spa: audioconvert: fix allocation size calculation
Currently, the code allocates

  sizeof(header) * sizeof(item) * n_items

bytes instead of the more appropriate

  sizeof(header) + sizeof(item) * n_items

Fix that by simply changing the first multiplication to addition, and
furthermore, use a flexible array member instead of a zero-sized array.

Found by clang-tidy.
2022-01-19 02:01:07 +01:00
..
alsa alsa: make internal latency configurable with params 2022-01-18 11:46:08 +01:00
audioconvert spa: audioconvert: fix allocation size calculation 2022-01-19 02:01:07 +01:00
audiomixer Use configured quantum_limit instead of hardcoded value 2022-01-12 17:50:12 +01:00
audiotestsrc Use configured quantum_limit instead of hardcoded value 2022-01-12 17:50:12 +01:00
bluez5 bluez5: don't create device if adapter is missing 2022-01-17 18:54:10 +00:00
control buffers: make alignment optional 2022-01-03 12:32:26 +01:00
ffmpeg treewide: meson.build: use dependency variable for SPA 2021-12-28 18:34:06 +01:00
jack buffers: make alignment optional 2022-01-03 12:32:26 +01:00
libcamera buffers: make alignment optional 2022-01-03 12:32:26 +01:00
support loop: invoke immediately when loop is not running 2022-01-18 20:03:01 +01:00
test buffers: make alignment optional 2022-01-03 12:32:26 +01:00
v4l2 buffers: make alignment optional 2022-01-03 12:32:26 +01:00
videoconvert buffers: make alignment optional 2022-01-03 12:32:26 +01:00
videotestsrc buffers: make alignment optional 2022-01-03 12:32:26 +01:00
volume Use configured quantum_limit instead of hardcoded value 2022-01-12 17:50:12 +01:00
vulkan buffers: make alignment optional 2022-01-03 12:32:26 +01:00
meson.build meson.build: adds V4L2 header and enablement reporting via summary() 2021-06-25 15:13:07 +03:00