File: platform.cpp

package info (click to toggle)
obs-studio 0.15.4%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,628 kB
  • ctags: 35,365
  • sloc: ansic: 123,403; cpp: 28,026; objc: 1,036; makefile: 908; sh: 375; python: 49
file content (12 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#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;
}