History

Fix the format string in a log message

The compiler warned about unknown conversion type and too many arguments for the format.

Martin Storsjö committed 12 years ago

Commit a4e16391 parent 758e8921 file · +1 −1Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+1−1
@@ -120,7 +120,7 @@ int32_t ParamValidation (SWelsSvcCodingParam* pCfg) { · 119 unmodified lines
120 iTotalBitrate += fDlp->iSpatialBitrate;120 iTotalBitrate += fDlp->iSpatialBitrate;
121 }121 }
122 if(iTotalBitrate > pCfg->iTargetBitrate){122 if(iTotalBitrate > pCfg->iTargetBitrate){
123 WelsLog(NULL, WELS_LOG_ERROR,"Invalid setttings in bitrate. the sum of each layer bitrate(%) is larger than total bitrate setting(%d)\n",123 WelsLog(NULL, WELS_LOG_ERROR,"Invalid setttings in bitrate. the sum of each layer bitrate(%d) is larger than total bitrate setting(%d)\n",
124 iTotalBitrate,pCfg->iTargetBitrate);124 iTotalBitrate,pCfg->iTargetBitrate);
125 }125 }
126 }126 }

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