output_thread: fix assertion failure due to race condition in OPEN

Change the assertion on "fail_timer==NULL" in OPEN to a runtime check.
This assertion crashed when the output thread failed while the player
thread was calling audio_output_open().
This commit is contained in:
Max Kellermann
2010-11-04 21:30:16 +01:00
parent 2ee047a1dd
commit 8d5fa754e8
2 changed files with 10 additions and 2 deletions

2
NEWS
View File

@@ -1,5 +1,5 @@
ver 0.15.14 (2010/??/??)
* output_thread: fix assertion failure due to race condition in OPEN
ver 0.15.13 (2010/10/10)
* output_thread: fix race condition after CANCEL command