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:
parent
4b28631a95
commit
70aa1e903f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue