History

Merge pull request #242 from mstorsjo/simplify-debug-file-locations

Simplify debugging code by always writing trace files to the current directory

Ethan Hugg committed 12 years ago

Commit 5616ddb2 parents 990a71d 98614926 files · +5 −36Browse 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−2
@@ -2085,8 +2085,7 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 2084 unmodified lines
20852085 if (wlog == WelsLogDefault) {
20862086 str_t fname[MAX_FNAME_LEN] = {0};
20872087
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");
20902089
20912090
20922091 pCtx->pFileLog = WelsFopen (fname, "wt+");

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