This fixes warnings with MSVC 2008.
Showing the changes to test/encoder/EncUT_EncoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -899,7 +899,7 @@ TEST_F (EncoderInterfaceTest, SkipFrameCheck) { · 898 unmodified lines | ||
| 899 | 899 | sEncParamExt.iPicHeight = 640; |
| 900 | 900 | sEncParamExt.iTargetBitrate = 573000; |
| 901 | 901 | sEncParamExt.iRCMode = RC_BITRATE_MODE; |
| 902 | − sEncParamExt.fMaxFrameRate = 28.248587; | |
| 902 | + sEncParamExt.fMaxFrameRate = 28.248587f; | |
| 903 | 903 | |
| 904 | 904 | sEncParamExt.iTemporalLayerNum = 3; |
| 905 | 905 | sEncParamExt.iSpatialLayerNum = 1; |
| @@ -912,7 +912,7 @@ TEST_F (EncoderInterfaceTest, SkipFrameCheck) { · 6 unmodified lines | ||
| 912 | 912 | sEncParamExt.sSpatialLayers[0].uiLevelIdc = LEVEL_5_0; |
| 913 | 913 | sEncParamExt.sSpatialLayers[0].iVideoWidth = 360; |
| 914 | 914 | sEncParamExt.sSpatialLayers[0].iVideoHeight = 640; |
| 915 | − sEncParamExt.sSpatialLayers[0].fFrameRate = 28.248587; | |
| 915 | + sEncParamExt.sSpatialLayers[0].fFrameRate = 28.248587f; | |
| 916 | 916 | sEncParamExt.sSpatialLayers[0].iSpatialBitrate = 573000; |
| 917 | 917 | sEncParamExt.sSpatialLayers[0].iMaxSpatialBitrate = 895839855; |
| 918 | 918 | sEncParamExt.sSpatialLayers[0].sSliceCfg.uiSliceMode = SM_FIXEDSLCNUM_SLICE; |