mirror of https://github.com/mpv-player/mpv
ao/wasapi: remove unnecessary check of audio thread input
it would have caused a deadlock if it fired anyway.
This commit is contained in:
parent
b0854bc42c
commit
b83e447e2b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue