ref: 0439392a79b0f9b402c4fb34a5b3fb914f43c99c
parent: 3a5ff9b6c87ad740ac4dea33c835431370ab4f05
author: Martin Storsjö <[email protected]>
date: Sun Jan 26 10:38:49 EST 2014
Fix a typo Millsecond -> Millisecond
--- a/codec/common/crt_util_safe_x.cpp
+++ b/codec/common/crt_util_safe_x.cpp
@@ -266,7 +266,7 @@
return fwrite (kpBuffer, iSize, iCount, pFp);
}
-uint16_t WelsGetMillsecond (const SWelsTime* kpTp) {
+uint16_t WelsGetMillisecond (const SWelsTime* kpTp) {
return kpTp->millitm;
}
--- a/codec/common/crt_util_safe_x.h
+++ b/codec/common/crt_util_safe_x.h
@@ -90,7 +90,7 @@
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
--- a/codec/decoder/plus/src/welsDecoderExt.cpp
+++ b/codec/decoder/plus/src/welsDecoderExt.cpp
@@ -132,7 +132,7 @@
}
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 @@
if (iBufLeftSize > 0) {
iCurUsedSize = WelsSnprintf (&chFileNameSize[iBufUsedSize], iBufLeftSize, ".%03.3u.len",
- WelsGetMillsecond (&sCurTime));
+ WelsGetMillisecond (&sCurTime));
if (iCurUsedSize > 0) {
iBufUsedSize += iCurUsedSize;
iBufLeftSize -= iCurUsedSize;