diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-14 08:03:12 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-17 03:37:07 -0800 |
commit | d4393be0f92f04922c5530d16b6db808d0b683ed (patch) | |
tree | 53c22d4638ddac6b31c434467fefc5af6933ab71 /audio/out/ao_wasapi.c | |
parent | 6eb5c6d186c6cd6bd945e408bfc9292e8d17d1da (diff) | |
download | mpv-d4393be0f92f04922c5530d16b6db808d0b683ed.tar.bz2 mpv-d4393be0f92f04922c5530d16b6db808d0b683ed.tar.xz |
ao/wasapi: make calling of thread_init consistent with thread_uninit
Diffstat (limited to 'audio/out/ao_wasapi.c')
-rw-r--r-- | audio/out/ao_wasapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c index c9a079ffc9..68317703d5 100644 --- a/audio/out/ao_wasapi.c +++ b/audio/out/ao_wasapi.c @@ -126,7 +126,7 @@ static DWORD __stdcall ThreadLoop(void *lpParameter) QS_POSTMESSAGE | QS_SENDMESSAGE); switch (waitstatus) { case WAIT_OBJECT_0: /*shutdown*/ - wasapi_thread_uninit(state); + wasapi_thread_uninit(ao); goto exit_label; case (WAIT_OBJECT_0 + 1): /* feed */ thread_feed(ao); |