Skip to content
Commit 4da83dbb authored by David Henningsson's avatar David Henningsson Committed by Bastien Nocera
Browse files

sound: Don't crash if pa_stream_peek returns NULL

pa_stream_peek can return NULL, even though it's unusual. In the upcoming
version of PulseAudio this has been clarified in the documentation.

In that case, don't crash, just call pa_stream_drop so that the
pointer moves forward.

https://bugzilla.gnome.org/show_bug.cgi?id=689079
parent 9f87704f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment