History

Consistently use the compat wrappers for file IO

As long as WelsFileHandle* is equal to FILE* this doesn't matter, but for consistency use the WelsF* functions for all handles opened by WelsFopen, and use WelsFileHandle* as type for it instead of FILE*.

Martin Storsjö committed 12 years ago

Commit 3559f421 parent e17e6646 files · +31 −26Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+1−1
@@ -1789,7 +1789,7 @@ void FreeMemorySvc (sWelsEncCtx** ppCtx) { · 1788 unmodified lines
1789 1789
1790#ifdef ENABLE_TRACE_FILE1790#ifdef ENABLE_TRACE_FILE
1791 if (NULL != pCtx->pFileLog) {1791 if (NULL != pCtx->pFileLog) {
1792 fclose (pCtx->pFileLog);1792 WelsFclose (pCtx->pFileLog);
1793 pCtx->pFileLog = NULL;1793 pCtx->pFileLog = NULL;
1794 }1794 }
1795 pCtx->uiSizeLog = 0;1795 pCtx->uiSizeLog = 0;

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