[vlc-devel] CVS Commit (gbazin)

cvs at videolan.org cvs at videolan.org
Tue Dec 9 20:18:48 CET 2003


Update of /var/cvs/videolan/vlc/src/misc
Modified Files:
	mtime.c win32_specific.c 

Log Message:

* src/misc/mtime.c: fixed an overflow in mdate() on win32.
  This overflow was only affecting the hardware configurations where we can't use the performance counter and thus have to use GetTickCount().
  We now also check for the wrapping of the 32 bits value returned by GetTickCount() so mdate() doesn't wrap after 49.7 days.
* src/misc/win32_specific.c: call mdate() once in system_Init() so as to avoid thread safety issues while initialising the static variables used in mdate().

-- 
gbazin

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list