Fix warnings

This commit is contained in:
jfmcarreira committed 2017-03-23 02:44:08 +00:00
1 parent 9c2e6fdbb8
commit 2ec2afc333
1 file changed
+1 -1
+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 );