0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

simplify rounding

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13034 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
wight 2004-08-17 10:12:49 +00:00
parent 5d0ef7e22f
commit 76a67731fc

View File

@ -5,9 +5,7 @@ use POSIX;
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;