Fix warnings

This commit is contained in:
2017-03-23 02:43:39 +00:00
parent ebd9fa46fe
commit a7119c2dc7
+1 -1
View File
@@ -1316,7 +1316,7 @@ Double PlaYUVerFrame::getMSE( PlaYUVerFrame* Org, Int component )
Double PlaYUVerFrame::getPSNR( PlaYUVerFrame* Org, Int component )
{
UInt uiMaxValue = ( 1 << Org->getBitsPel() - 1 );
UInt uiMaxValue = ( 1 << Org->getBitsPel() ) - 1;
Double uiMaxValueSquare = uiMaxValue * uiMaxValue;
Double dPSNR = 100;
Double dMSE = getMSE( Org, component );