mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
memblockq: decode unset chunks as NULL chunks again
This fixes asserts beeing hit when see requests are posted via the native protocol.
This commit is contained in:
parent
e5f547fe70
commit
575ba65714
3 changed files with 13 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ void pa_asyncmsgq_write_after_poll(pa_asyncmsgq *a) {
|
|||
int pa_asyncmsgq_dispatch(pa_msgobject *object, int code, void *userdata, int64_t offset, pa_memchunk *memchunk) {
|
||||
|
||||
if (object)
|
||||
return object->process_msg(object, code, userdata, offset, memchunk);
|
||||
return object->process_msg(object, code, userdata, offset, pa_memchunk_isset(memchunk) ? memchunk : NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue