Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2085,8 +2085,7 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 2084 unmodified lines | ||
| 2085 | 2085 | if (wlog == WelsLogDefault) { |
| 2086 | 2086 | str_t fname[MAX_FNAME_LEN] = {0}; |
| 2087 | 2087 | |
| 2088 | − WelsSnprintf (fname, MAX_FNAME_LEN, "%swels_svc_encoder_trace.txt", | |
| 2089 | − pCodingParam->sTracePath); // confirmed_safe_unsafe_usage | |
| 2088 | + WelsSnprintf (fname, MAX_FNAME_LEN, "wels_svc_encoder_trace.txt"); | |
| 2090 | 2089 | |
| 2091 | 2090 | |
| 2092 | 2091 | pCtx->pFileLog = WelsFopen (fname, "wt+"); |