[Mplayer-cvslog] CVS: main/TOOLS calcbpp.pl,1.2,1.3
Torinthiel CVS
syncmail at mplayerhq.hu
Tue Aug 17 12:12:51 CEST 2004
CVS change done by Torinthiel CVS
Update of /cvsroot/mplayer/main/TOOLS
In directory mail:/var2/tmp/cvs-serv13130
Modified Files:
calcbpp.pl
Log Message:
simplify rounding
Index: calcbpp.pl
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/calcbpp.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- calcbpp.pl 16 Dec 2002 10:43:07 -0000 1.2
+++ calcbpp.pl 17 Aug 2004 10:12:49 -0000 1.3
@@ -5,9 +5,7 @@
sub round {
my $v = shift;
- return floor($v + 0.5) != floor($v) ?
- floor($v + 0.5) :
- floor($v);
+ return floor($v + 0.5);
}
$raw_aspect = 720/576;
More information about the MPlayer-cvslog
mailing list