win-wasapi: Initialize a pointer reroute_target

The pointer `reroute_target` was never initialized if the reroute was
not set but read during processing audio.
This commit is contained in:
Norihiro Kamae
2023-12-13 08:50:24 +09:00
committed by Rodney
parent 4b28631a95
commit 70aa1e903f
+1 -1
View File
@@ -161,7 +161,7 @@ class WASAPISource {
ComPtr<IAudioCaptureClient> capture;
obs_source_t *source;
obs_source_t *reroute_target;
obs_source_t *reroute_target = nullptr;
wstring default_id;
string device_id;
string device_name;