mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-25 04:29:53 +08:00
ao/wasapi: remove unnecessary check of audio thread input
it would have caused a deadlock if it fired anyway.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user