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

Function FFMS_WriteIndex

src/core/ffms.cpp:384–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384FFMS_API(int) FFMS_WriteIndex(const char *IndexFile, FFMS_Index *Index, FFMS_ErrorInfo *ErrorInfo) {
385 ClearErrorInfo(ErrorInfo);
386 try {
387 Index->WriteIndexFile(IndexFile);
388 } catch (FFMS_Exception &e) {
389 return e.CopyOut(ErrorInfo);
390 }
391 return FFMS_ERROR_SUCCESS;
392}
393
394FFMS_API(int) FFMS_WriteIndexToBuffer(uint8_t **BufferPtr, size_t *Size, FFMS_Index *Index, FFMS_ErrorInfo *ErrorInfo) {
395 ClearErrorInfo(ErrorInfo);

Callers 6

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

Calls 3

ClearErrorInfoFunction · 0.85
WriteIndexFileMethod · 0.80
CopyOutMethod · 0.80

Tested by

no test coverage detected