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

Function FFMS_ReadIndexFromBuffer

src/core/ffms.cpp:362–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362FFMS_API(FFMS_Index *) FFMS_ReadIndexFromBuffer(const uint8_t *Buffer, size_t Size, FFMS_ErrorInfo *ErrorInfo) {
363 ClearErrorInfo(ErrorInfo);
364 try {
365 return new FFMS_Index(Buffer, Size);
366 } catch (FFMS_Exception &e) {
367 e.CopyOut(ErrorInfo);
368 return nullptr;
369 }
370}
371
372FFMS_API(int) FFMS_IndexBelongsToFile(FFMS_Index *Index, const char *SourceFile, FFMS_ErrorInfo *ErrorInfo) {
373 ClearErrorInfo(ErrorInfo);

Callers

nothing calls this directly

Calls 2

ClearErrorInfoFunction · 0.85
CopyOutMethod · 0.80

Tested by

no test coverage detected