mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-25 16:13:13 -04:00
14 lines
221 B
C++
14 lines
221 B
C++
#include "../platform.hpp"
|
|
|
|
bool DeckLinkStringToStdString(decklink_string_t input, std::string &output)
|
|
{
|
|
if (input == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
output = std::string(input);
|
|
free((void *)input);
|
|
|
|
return true;
|
|
}
|