MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / setVideoPath

Function setVideoPath

OpenHD/ohd_common/src/config_paths.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void setVideoPath(const char* path) {
101 if (VIDEO_PATH) {
102 free(VIDEO_PATH);
103 }
104 VIDEO_PATH = static_cast<char*>(malloc(strlen(path) + 1));
105 strcpy(VIDEO_PATH, path);
106}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected