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

Function FFMS_ReadIndex

src/core/ffms.cpp:352–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352FFMS_API(FFMS_Index *) FFMS_ReadIndex(const char *IndexFile, FFMS_ErrorInfo *ErrorInfo) {
353 ClearErrorInfo(ErrorInfo);
354 try {
355 return new FFMS_Index(IndexFile);
356 } catch (FFMS_Exception &e) {
357 e.CopyOut(ErrorInfo);
358 return nullptr;
359 }
360}
361
362FFMS_API(FFMS_Index *) FFMS_ReadIndexFromBuffer(const uint8_t *Buffer, size_t Size, FFMS_ErrorInfo *ErrorInfo) {
363 ClearErrorInfo(ErrorInfo);

Callers 6

CreateIndexFunction · 0.85
CreateSourceFunction · 0.85
DoIndexingFunction · 0.85
CreateFFIndexFunction · 0.85
CreateFFVideoSourceFunction · 0.85
CreateFFAudioSourceFunction · 0.85

Calls 2

ClearErrorInfoFunction · 0.85
CopyOutMethod · 0.80

Tested by

no test coverage detected