Skip to content

audio-buffer: Don't fail to map buffers with zero samples

Instead initialize the map infos, etc to NULL like gst_buffer_map() would be doing on a zero-sized buffer.

This fixes a crash in audioresample if the first output buffer would contain no (0) samples.


@gkiagia

Edited by Tim-Philipp Müller

Merge request reports

Loading