[vlc-commits] wasapi: fix stop callback prototype

Rémi Denis-Courmont git at videolan.org
Wed Jul 17 20:46:32 CEST 2019


vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 17 21:46:03 2019 +0300| [b03729f0d869e5258b6f752aff1f0e51a1b94af1] | committer: Rémi Denis-Courmont

wasapi: fix stop callback prototype

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=b03729f0d869e5258b6f752aff1f0e51a1b94af1
---

 modules/audio_output/wasapi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index 9f6d260ccd..e438e8e868 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -636,7 +636,7 @@ error:
     return hr;
 }
 
-static void Stop(aout_stream_t *s)
+static HRESULT Stop(aout_stream_t *s)
 {
     aout_stream_sys_t *sys = s->sys;
 
@@ -644,6 +644,7 @@ static void Stop(aout_stream_t *s)
     IAudioClient_Release(sys->client);
 
     free(sys);
+    return S_OK;
 }
 
 vlc_module_begin()



More information about the vlc-commits mailing list