shithub: openh264

Download patch

ref: 6938cfce078ce088e2497f734c497a07a8e9c820
parent: ac1dbf5aa00a52df7a195e4ba0989ca7c5650355
parent: 903f2659658db6db3adfeb0dcd9f591a5a50afe0
author: Ethan Hugg <ethanhugg@gmail.com>
date: Tue Jan 28 04:39:27 EST 2014

Merge pull request #250 from mstorsjo/format-string-fix

Fix a format string to use the correct type

--- a/codec/encoder/plus/src/welsEncoderExt.cpp
+++ b/codec/encoder/plus/src/welsEncoderExt.cpp
@@ -828,7 +828,7 @@
     float iValue	= * ((float*)pOption);
 #ifdef REC_FRAME_COUNT
     WelsLog (m_pEncContext, WELS_LOG_INFO,
-             "CWelsH264SVCEncoder::SetOption():ENCODER_OPTION_FRAME_RATE, m_uiCountFrameNum= %d, m_iCspInternal= 0x%x, iValue= %d\n",
+             "CWelsH264SVCEncoder::SetOption():ENCODER_OPTION_FRAME_RATE, m_uiCountFrameNum= %d, m_iCspInternal= 0x%x, iValue= %f\n",
              m_uiCountFrameNum, m_iCspInternal, iValue);
 #endif//REC_FRAME_COUNT
     if (iValue<=0) {