• Max Kellermann's avatar
    output: protect audio_output.open with the mutex · 4dbf73d8
    Max Kellermann authored
    There was a deadlock between the output thread and the player thread:
    when the output thread failed (and closed itself) while the player
    thread worked with the audio_output object, MPD could crash.
    4dbf73d8
output_internal.h 3.66 KB