Fix a typo Millsecond -> Millisecond
This commit is contained in:
parent
3a5ff9b6c8
commit
0439392a79
@ -266,7 +266,7 @@ int32_t WelsFwrite (const void_t* kpBuffer, int32_t iSize, int32_t iCount, WelsF
|
||||
return fwrite (kpBuffer, iSize, iCount, pFp);
|
||||
}
|
||||
|
||||
uint16_t WelsGetMillsecond (const SWelsTime* kpTp) {
|
||||
uint16_t WelsGetMillisecond (const SWelsTime* kpTp) {
|
||||
return kpTp->millitm;
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ int32_t WelsFflush (WelsFileHandle* fp);
|
||||
|
||||
int32_t WelsGetTimeOfDay (SWelsTime* tp);
|
||||
int32_t WelsStrftime (str_t* buffer, int32_t size, const str_t* format, const SWelsTime* tp);
|
||||
uint16_t WelsGetMillsecond (const SWelsTime* tp);
|
||||
uint16_t WelsGetMillisecond (const SWelsTime* tp);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -132,7 +132,7 @@ CWelsDecoder::CWelsDecoder (void_t)
|
||||
}
|
||||
|
||||
if (iBufLeft > 0) {
|
||||
iCurUsed = WelsSnprintf (&chFileName[iBufUsed], iBufLeft, ".%03.3u.264", WelsGetMillsecond (&sCurTime));
|
||||
iCurUsed = WelsSnprintf (&chFileName[iBufUsed], iBufLeft, ".%03.3u.264", WelsGetMillisecond (&sCurTime));
|
||||
if (iCurUsed > 0) {
|
||||
iBufUsed += iCurUsed;
|
||||
iBufLeft -= iCurUsed;
|
||||
@ -141,7 +141,7 @@ CWelsDecoder::CWelsDecoder (void_t)
|
||||
|
||||
if (iBufLeftSize > 0) {
|
||||
iCurUsedSize = WelsSnprintf (&chFileNameSize[iBufUsedSize], iBufLeftSize, ".%03.3u.len",
|
||||
WelsGetMillsecond (&sCurTime));
|
||||
WelsGetMillisecond (&sCurTime));
|
||||
if (iCurUsedSize > 0) {
|
||||
iBufUsedSize += iCurUsedSize;
|
||||
iBufLeftSize -= iCurUsedSize;
|
||||
|
Loading…
Reference in New Issue
Block a user