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

Function ClearErrorInfo

src/core/utils.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void ClearErrorInfo(FFMS_ErrorInfo *ErrorInfo) {
56 if (ErrorInfo) {
57 ErrorInfo->ErrorType = FFMS_ERROR_SUCCESS;
58 ErrorInfo->SubType = FFMS_ERROR_SUCCESS;
59
60 if (ErrorInfo->BufferSize > 0)
61 ErrorInfo->Buffer[0] = 0;
62 }
63}
64
65void FillAP(FFMS_AudioProperties &AP, AVCodecContext *CTX, FFMS_Track &Frames) {
66 AP.SampleFormat = static_cast<FFMS_SampleFormat>(av_get_packed_sample_fmt(CTX->sample_fmt));

Callers 15

FFMS_GetFrameFunction · 0.85
FFMS_GetFrameByTimeFunction · 0.85
FFMS_GetAudioFunction · 0.85
FFMS_SetOutputFormatV2Function · 0.85
FFMS_SetInputFormatVFunction · 0.85
FFMS_SetOutputFormatAFunction · 0.85
FFMS_GetFirstTrackOfTypeFunction · 0.85
FFMS_WriteTimecodesFunction · 0.85
FFMS_CreateIndexer2Function · 0.85
FFMS_DoIndexing2Function · 0.85
FFMS_ReadIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected