--- a/msvc/contrib/timer/timer.c
+++ b/msvc/contrib/timer/timer.c
@@ -28,75 +28,75 @@
 #include "timer.h"
 
 /*
-	this function returns somewhat
-	accurate unix time with the data
-	accurate to the first call to get
-	of day and the resolution accurate
-	to ~ miliseconds.
+        this function returns somewhat
+        accurate unix time with the data
+        accurate to the first call to get
+        of day and the resolution accurate
+        to ~ miliseconds.
 */
 
 static time_t startseconds = 0;
 
 int gettimeofday( struct timeval *tp, struct timezone *tzp )
 {
-	MMTIME mmtime;
+        MMTIME mmtime;
 
-	// clock() returns time in miliseconds
+        // clock() returns time in miliseconds
 
-	if( !startseconds )
-		startseconds = time( 0 );
+        if( !startseconds )
+                startseconds = time( 0 );
 
-	timeGetSystemTime( &mmtime, sizeof( mmtime ) );
+        timeGetSystemTime( &mmtime, sizeof( mmtime ) );
 
-	tp->tv_sec	= ( mmtime.u.ms / 1000 ) + startseconds;
-	tp->tv_usec	= ( mmtime.u.ms % 1000 ) * 1000;
+        tp->tv_sec      = ( mmtime.u.ms / 1000 ) + startseconds;
+        tp->tv_usec     = ( mmtime.u.ms % 1000 ) * 1000;
 
-	return 0;
+        return 0;
 };
 
 /*
-	These functions are designed to mimick
-	a subset of itimer for use with the
-	alarm signal on win32. This is just
-	enough for xine to work.
+        These functions are designed to mimick
+        a subset of itimer for use with the
+        alarm signal on win32. This is just
+        enough for xine to work.
 */
 
 static HANDLE sigalarm = 0;
 
 int setitimer( int which, struct itimerval * value, struct itimerval *ovalue )
 {
-	long int miliseconds;
+        long int miliseconds;
 
-	if( !sigalarm )
-		sigalarm = CreateEvent( 0, FALSE, TRUE, "SIGALARM" );
+        if( !sigalarm )
+                sigalarm = CreateEvent( 0, FALSE, TRUE, "SIGALARM" );
 
     miliseconds = value->it_value.tv_usec / 1000;
 
-	timeSetEvent( miliseconds, 0, ( LPTIMECALLBACK ) sigalarm, 0, TIME_PERIODIC | TIME_CALLBACK_EVENT_PULSE );
+        timeSetEvent( miliseconds, 0, ( LPTIMECALLBACK ) sigalarm, 0, TIME_PERIODIC | TIME_CALLBACK_EVENT_PULSE );
 
-	return 0;
+        return 0;
 }
 
 /*
-	Wait for sigalarm to wake the thread
+        Wait for sigalarm to wake the thread
 */
 
 int pause( void )
 {
-	WaitForSingleObject( sigalarm, INFINITE );
+        WaitForSingleObject( sigalarm, INFINITE );
 
-	return 0;
+        return 0;
 }
 
 int nanosleep( const struct timespec * rqtp, struct timespec * rmtp )
 {
-	Sleep( rqtp->tv_nsec / 1000000 );
+        Sleep( rqtp->tv_nsec / 1000000 );
 
-	return 0;
+        return 0;
 }
 
 unsigned int sleep( unsigned int seconds )
 {
-	Sleep( seconds * 1000 );
-	return 0;
+        Sleep( seconds * 1000 );
+        return 0;
 }