[Live-devel] minor bug on windows implementation of gettimeofday()

Sébastien Escudier sebastien-devel at celeos.eu
Wed Apr 1 23:57:35 PDT 2009


Quoting Ross Finlayson <finlayson at live555.com>:

> Unfortunately I'm not an expert on Windoze-specific API stuff.

You may have a look at vlc times functions :

http://git.videolan.org/gitweb.cgi?p=vlc.git;a=blob;f=src/misc/mtime.c;h=0dbb4df578308b38e6e3ff9487b0e9143f11853b;hb=HEAD

or for a direct access to the file :

http://git.videolan.org/gitweb.cgi?p=vlc.git;a=blob_plain;f=src/misc/mtime.c;hb=HEAD

If you need a high precision clock, with a random epoch, look at mdate.
If you need a constant epoch look at gettimeofday



More information about the live-devel mailing list