obs-outputs: Increase GetAdaptersAddresses buffer size

4096 is too small for most systems to do this in a single call.
This commit is contained in:
Richard Stanway
2019-02-12 21:57:08 +01:00
parent 443aa0b729
commit 15895bfb76

View File

@@ -175,7 +175,7 @@ static inline PIP_ADAPTER_ADDRESSES get_adapters(void)
{
PIP_ADAPTER_ADDRESSES adapter = NULL;
unsigned long ret = 0;
unsigned long out_buf_len = 4096;
unsigned long out_buf_len = 16384;
unsigned long flags =
GAA_FLAG_SKIP_ANYCAST |
GAA_FLAG_SKIP_MULTICAST |