Files
obs-studio/plugins/decklink/linux/platform.cpp
T
Alfred Wingate a93fae1cce decklink: Include previously implicit header for Linux
Libcxx-23 is removing transitive includes. This caused build failures
related to headers that were already included for Windows. Just
inherit them unconditionally.

See-Also: https://discourse.llvm.org/t/rfc-remove-unused-transitive-includes-from-the-libc-headers/90157
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2026-10-02 15:25:30 -04:00

16 lines
241 B
C++

#include "../platform.hpp"
#include <cstdlib>
bool DeckLinkStringToStdString(decklink_string_t input, std::string &output)
{
if (input == nullptr) {
return false;
}
output = std::string(input);
free((void *)input);
return true;
}