History

Fix the old MSVC version of WelsGetTimeOfDay

The _ftime function returns void. This fixes building on MSVC 2005.

Martin Storsjö committed 12 years ago

Commit e1d96ae1 parent c5ea53f1 file · +2 −1Browse files

Showing the changes to codec/decoder/core/src/utils.cpp (1 of 1 file). Show all

Unified · Split

codec/decoder/core/src/utils.cpp+2−1
@@ -178,7 +178,8 @@ int32_t WelsFclose (WelsFileHandle* pFp) { · 177 unmodified lines
178178 }
179179
180180 int32_t WelsGetTimeOfDay (SWelsTime* pTp) {
181− return _ftime (pTp);
181+ _ftime (pTp);
182+ return 0;
182183 }
183184
184185 int32_t WelsStrftime (str_t* pBuffer, int32_t iSize, const str_t* kpFormat, const SWelsTime* kpTp) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t