[FFmpeg-devel] [PATCH] Use hi-res timer under win32 builds
Mon Oct 15 06:58:29 CEST 2007
I am compiling ffmpeg under cygwin with -mno-cygwin, and then linking
the resulting static libs under MSVC 2005 edition. There are three
symbols that remain undefined at link time:
This patch addresses _gettimeofday. It is supplying a microsecond
resolution time value for general use. Under cygwin, the resolution of
_gettimeofday is much more coarse, on the order of 10ms. Also, as noted
above, this breaks linkage with the MSVC runtime. Instead, we can use a
high resolution timer calls in the win32 api.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel