MCPcopy Create free account
hub / github.com/FFMS/ffms2 / IsSamePath

Function IsSamePath

src/core/utils.cpp:142–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142bool IsSamePath(const char *p1, const char *p2) {
143 // assume windows is the only OS with a case insensitive filesystem and ignore all path complications
144#ifndef _WIN32
145 return !strcmp(p1, p2);
146#else
147 return !_stricmp(p1, p2);
148#endif
149}
150
151bool IsIOError(int error) {
152 switch (error) {

Callers 3

CreateSourceFunction · 0.85
CreateFFVideoSourceFunction · 0.85
CreateFFAudioSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected