Commit 14fa4b28 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

PulseAudio: fix inverted logic

parent 25aed51d
......@@ -83,7 +83,7 @@ static void vlc_pa_mainloop_deinit (void)
{
vlc_mutex_lock (&lock);
assert (refs > 0);
if (--refs > 0)
if (--refs == 0)
{
pa_threaded_mainloop_stop (vlc_pa_mainloop);
pa_threaded_mainloop_free (vlc_pa_mainloop);
......
Markdown is supported
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