| 382 | } |
| 383 | |
| 384 | FFMS_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 | |
| 394 | FFMS_API(int) FFMS_WriteIndexToBuffer(uint8_t **BufferPtr, size_t *Size, FFMS_Index *Index, FFMS_ErrorInfo *ErrorInfo) { |
| 395 | ClearErrorInfo(ErrorInfo); |
no test coverage detected