From b83e447e2b8aa830592dbac8293a45cc0400a806 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Fri, 28 Nov 2014 09:57:59 -0800 Subject: [PATCH] ao/wasapi: remove unnecessary check of audio thread input it would have caused a deadlock if it fired anyway. --- audio/out/ao_wasapi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c index b54e9aa277..e70029da88 100644 --- a/audio/out/ao_wasapi.c +++ b/audio/out/ao_wasapi.c @@ -119,8 +119,6 @@ exit_label: static DWORD __stdcall ThreadLoop(void *lpParameter) { struct ao *ao = lpParameter; - if (!ao || !ao->priv) - return 1; struct wasapi_state *state = (struct wasapi_state *)ao->priv; CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);