This fixes rounding differences between platforms Signed-off-by: Michael Niedermayer <michaelni@gmx.at>