From a4e163952921984055bb2b8744b4fb8f4a7926e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 12 May 2014 12:13:24 +0300 Subject: [PATCH] Fix the format string in a log message The compiler warned about unknown conversion type and too many arguments for the format. --- codec/encoder/core/src/encoder_ext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec/encoder/core/src/encoder_ext.cpp b/codec/encoder/core/src/encoder_ext.cpp index 8d2111f2..82a02f32 100644 --- a/codec/encoder/core/src/encoder_ext.cpp +++ b/codec/encoder/core/src/encoder_ext.cpp @@ -120,7 +120,7 @@ int32_t ParamValidation (SWelsSvcCodingParam* pCfg) { iTotalBitrate += fDlp->iSpatialBitrate; } if(iTotalBitrate > pCfg->iTargetBitrate){ - WelsLog(NULL, WELS_LOG_ERROR,"Invalid setttings in bitrate. the sum of each layer bitrate(%) is larger than total bitrate setting(%d)\n", + WelsLog(NULL, WELS_LOG_ERROR,"Invalid setttings in bitrate. the sum of each layer bitrate(%d) is larger than total bitrate setting(%d)\n", iTotalBitrate,pCfg->iTargetBitrate); } }