History

Remove the now unused count parameter to WelsStrncpy

Also remove manual null termination as WelsStrncpy now always takes care of it.

Martin Storsjö committed 12 years ago

Commit 9840f111 parent a16ccc06 files · +11 −15Browse files

Showing the changes to codec/decoder (1 of 6 files). Show all

Unified · Split

codec/decoder/plus/src/welsCodecTrace.cpp+1−1
@@ -62,7 +62,7 @@ int32_t CWelsTraceBase::Trace (const int kLevel, const str_t* kpFormat, va_list · 61 unmodified lines
6262 str_t chBuf[MAX_LOG_SIZE] = {0};
6363 const int32_t kLen = strlen ("[DECODER]: ");
6464
65− WelsStrncpy (chBuf, MAX_LOG_SIZE, (const str_t*)"[DECODER]: ", kLen);
65+ WelsStrncpy (chBuf, MAX_LOG_SIZE, (const str_t*)"[DECODER]: ");
6666
6767 WelsVsnprintf ((chBuf + kLen), MAX_LOG_SIZE - kLen, (const str_t*)kpFormat, pVl);
6868

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