pulsesink: in accept_caps() check if ring buffer is NULL before de-referencing
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 18 Oct 2012 10:32:10 +0000 (11:32 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 19 Oct 2012 14:11:07 +0000 (15:11 +0100)
commitd2fdc26c38acc243ba7912f4db17f63fe0d54632
treef34b02712b88e76462186e510631dd60077d82e2
parent13328bc129c1bec86637df561968e75eceddc291
pulsesink: in accept_caps() check if ring buffer is NULL before de-referencing

And sprinkle some thread-safety (take object lock for
accessing ring buffer, and pa main loop lock for the
context).

https://bugzilla.gnome.org/show_bug.cgi?id=683782
ext/pulse/pulsesink.c