replaced float by integer to avoid rounding differenes between platforms Originally committed as revision 1755 to svn://svn.ffmpeg.org/ffmpeg/trunk