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

Method CompareFileSignature

src/core/indexing.cpp:114–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool FFMS_Index::CompareFileSignature(const char *Filename) {
115 int64_t CFilesize;
116 uint8_t CDigest[20];
117 CalculateFileSignature(Filename, &CFilesize, CDigest);
118 return (CFilesize == Filesize && !memcmp(CDigest, Digest, sizeof(Digest)));
119}
120
121void FFMS_Index::WriteIndex(ZipFile &zf) {
122 // Write the index file header

Callers 3

FFMS_VideoSourceMethod · 0.80
FFMS_IndexBelongsToFileFunction · 0.80
FFMS_AudioSourceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected