From 2c908fde1b5f0c0be1c7c7d4dd4fd444c31ae341 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 16 Oct 2009 15:09:22 +0200 Subject: output_thread: check again if output is open on CANCEL When the player thread unpauses, it sends CANCEL to the output thread, after having checked that the output is still open. Problem is when the output thread closes the device before it can process the CANCEL command - race condition. This patch adds another "open" check inside the output thread. --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ec6cbe663..af70f783b 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ ver 0.15.5 (2009/??/??) * tags: - riff, aiff: fixed "limited range" gcc warning * decoder_thread: change the fallback decoder name to "mad" +* output_thread: check again if output is open on CANCEL ver 0.15.4 (2009/10/03) -- cgit v1.2.3