The _ftime function returns void. This fixes building on MSVC 2005.
Showing the changes to codec/decoder/core/src/utils.cpp (1 of 1 file). Show all
Unified · Split
| @@ -178,7 +178,8 @@ int32_t WelsFclose (WelsFileHandle* pFp) { · 177 unmodified lines | ||
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | int32_t WelsGetTimeOfDay (SWelsTime* pTp) { |
| 181 | − return _ftime (pTp); | |
| 181 | + _ftime (pTp); | |
| 182 | + return 0; | |
| 182 | 183 | } |
| 183 | 184 | |
| 184 | 185 | int32_t WelsStrftime (str_t* pBuffer, int32_t iSize, const str_t* kpFormat, const SWelsTime* kpTp) { |