ref: 853d2922dbaaa98f65d25f76206fc41e53bcc2cf
parent: c4c73ee5d656bf497fb1a3a92d6dc5b39cc80760
author: Martin Storsjö <martin@martin.st>
date: Wed Jan 28 04:19:09 EST 2015
Use float literals instead of double literals when setting float values This fixes warnings with MSVC 2008.
--- a/test/encoder/EncUT_EncoderExt.cpp
+++ b/test/encoder/EncUT_EncoderExt.cpp
@@ -899,7 +899,7 @@
sEncParamExt.iPicHeight = 640;
sEncParamExt.iTargetBitrate = 573000;
sEncParamExt.iRCMode = RC_BITRATE_MODE;
- sEncParamExt.fMaxFrameRate = 28.248587;
+ sEncParamExt.fMaxFrameRate = 28.248587f;
sEncParamExt.iTemporalLayerNum = 3;
sEncParamExt.iSpatialLayerNum = 1;
@@ -912,7 +912,7 @@
sEncParamExt.sSpatialLayers[0].uiLevelIdc = LEVEL_5_0;
sEncParamExt.sSpatialLayers[0].iVideoWidth = 360;
sEncParamExt.sSpatialLayers[0].iVideoHeight = 640;
- sEncParamExt.sSpatialLayers[0].fFrameRate = 28.248587;
+ sEncParamExt.sSpatialLayers[0].fFrameRate = 28.248587f;
sEncParamExt.sSpatialLayers[0].iSpatialBitrate = 573000;
sEncParamExt.sSpatialLayers[0].iMaxSpatialBitrate = 895839855;
sEncParamExt.sSpatialLayers[0].sSliceCfg.uiSliceMode = SM_FIXEDSLCNUM_SLICE;