shithub: openh264

Download patch

ref: a4e163952921984055bb2b8744b4fb8f4a7926e8
parent: 758e89208eb59e08652134586425d790f59d7880
author: Martin Storsjö <[email protected]>
date: Mon May 12 08:13:24 EDT 2014

Fix the format string in a log message

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

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -120,7 +120,7 @@
       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);
     }
   }