summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-12-21 00:02:21 -0800
committerKevin Mitchell <kevmitch@gmail.com>2015-12-21 05:23:22 -0800
commit35296c1f3357cf4ee17f2a6ad58c1ff3e550070d (patch)
tree862240355f28cf3244155facbdb0c68a5a141cb7 /audio/out/ao_wasapi.c
parent3ae726e8dd15638b84fcd5a168134f186119f240 (diff)
downloadmpv-35296c1f3357cf4ee17f2a6ad58c1ff3e550070d.tar.bz2
mpv-35296c1f3357cf4ee17f2a6ad58c1ff3e550070d.tar.xz
ao_wasapi: non-fatal error handling for COM marshalling
Also make sure that CoReleaseMarshalData is called if errors occur before unmarshalling.
Diffstat (limited to 'audio/out/ao_wasapi.c')
-rw-r--r--audio/out/ao_wasapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c
index 2fcb2e9bba..bafeae1d63 100644
--- a/audio/out/ao_wasapi.c
+++ b/audio/out/ao_wasapi.c
@@ -290,7 +290,7 @@ static int init(struct ao *ao)
return -1;
}
- wasapi_setup_proxies(state);
+ wasapi_receive_proxies(state);
MP_DBG(ao, "Init wasapi done\n");
return 0;
}