[vlc-commits] wasapi: fix inverted logic
Rémi Denis-Courmont
git at videolan.org
Fri Mar 14 17:56:15 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Mar 14 18:56:02 2014 +0200| [a4c33da25e9c84c167717bb4a7a2756c8452aaf7] | committer: Rémi Denis-Courmont
wasapi: fix inverted logic
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4c33da25e9c84c167717bb4a7a2756c8452aaf7
---
modules/audio_output/wasapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index 6d1f678..6b419c6 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -212,7 +212,7 @@ static HRESULT Flush(aout_stream_t *s)
IAudioClient_Stop(sys->client);
hr = IAudioClient_Reset(sys->client);
- if (FAILED(hr))
+ if (SUCCEEDED(hr))
{
msg_Dbg(s, "reset");
sys->written = 0;
More information about the vlc-commits
mailing list