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*.
This commit is contained in:
Martin Storsjö
2014-01-26 16:04:52 +02:00
parent e17e664e1a
commit 3559f425b4
6 changed files with 31 additions and 26 deletions

View File

@@ -1789,7 +1789,7 @@ void FreeMemorySvc (sWelsEncCtx** ppCtx) {
#ifdef ENABLE_TRACE_FILE
if (NULL != pCtx->pFileLog) {
fclose (pCtx->pFileLog);
WelsFclose (pCtx->pFileLog);
pCtx->pFileLog = NULL;
}
pCtx->uiSizeLog = 0;