From 15895bfb76038db033b2967070068d7f908a1a8f Mon Sep 17 00:00:00 2001 From: Richard Stanway Date: Tue, 12 Feb 2019 21:57:08 +0100 Subject: [PATCH] obs-outputs: Increase GetAdaptersAddresses buffer size 4096 is too small for most systems to do this in a single call. --- plugins/obs-outputs/net-if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/obs-outputs/net-if.c b/plugins/obs-outputs/net-if.c index f467f2a24..9f91cad51 100644 --- a/plugins/obs-outputs/net-if.c +++ b/plugins/obs-outputs/net-if.c @@ -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 |