History

Remove the FOPEN macro, use WelsFopen instead

This avoids ifdefs at each place the macro is used.

Martin Storsjö committed 12 years ago

Commit c174dcd1 parent 33fe2b55 files · +22 −118Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 5 files). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+1−11
@@ -2100,17 +2100,7 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 2099 unmodified lines
2100#endif//_MSC_VER2100#endif//_MSC_VER
2101 2101
2102 2102
2103#if defined(__GNUC__)2103 pCtx->pFileLog = WelsFopen (fname, "wt+");
2104 pCtx->pFileLog = FOPEN (fname, "wt+");
2105#else//WIN32
2106#if defined(_WIN32) && defined(_MSC_VER)
2107#if _MSC_VER >= 1500
2108 FOPEN (&pCtx->pFileLog, fname, "wt+");
2109#else
2110 pCtx->pFileLog = FOPEN (fname, "wt+");
2111#endif//_MSC_VER>=1500
2112#endif//WIN32 && _MSC_VER
2113#endif//__GNUC__
2114 pCtx->uiSizeLog = 0;2104 pCtx->uiSizeLog = 0;
2115 }2105 }
2116#endif//ENABLE_TRACE_FILE2106#endif//ENABLE_TRACE_FILE

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