| 360 | } |
| 361 | |
| 362 | FFMS_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 | |
| 372 | FFMS_API(int) FFMS_IndexBelongsToFile(FFMS_Index *Index, const char *SourceFile, FFMS_ErrorInfo *ErrorInfo) { |
| 373 | ClearErrorInfo(ErrorInfo); |
nothing calls this directly
no test coverage detected