]> git.sesse.net Git - vlc/commitdiff
- The win32 port is once again using msvcrt.dll instead of msvcrt40.dll
authorGildas Bazin <gbazin@videolan.org>
Wed, 22 Aug 2001 21:18:43 +0000 (21:18 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 22 Aug 2001 21:18:43 +0000 (21:18 +0000)
- Fixed a synchro bug (typo) in video_output.c

Makefile.opts.in
src/video_output/video_output.c

index 17531bf29562eee0214d7c0571a923db0e6e4f28..90f9859c27f791fba4b35519441f00647e453c3d 100644 (file)
@@ -181,7 +181,7 @@ endif
 # Libraries
 #
 ifneq (,$(findstring mingw32,$(SYS)))
-LIB += -lws2_32 -lnetapi32 -lmsvcrt40
+LIB += -lws2_32 -lnetapi32
 endif
 
 LIB += -L/usr/local/lib @LIB@
index f95a783ed86d6bdb681ef09e460f38dbeabbe71b..633352bf393bedd30ab88468dc2b47665af5a560 100644 (file)
@@ -5,7 +5,7 @@
  * thread, and destroy a previously oppened video output thread.
  *****************************************************************************
  * Copyright (C) 2000 VideoLAN
- * $Id: video_output.c,v 1.137 2001/08/14 00:00:04 sam Exp $
+ * $Id: video_output.c,v 1.138 2001/08/22 21:18:43 gbazin Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *
@@ -1019,7 +1019,7 @@ static void RunThread( vout_thread_t *p_vout)
             /* Computes FPS rate */
             p_vout->p_fps_sample[ p_vout->c_fps_samples++ % VOUT_FPS_SAMPLES ] = display_date;
 
-            if( display_date < current_date - p_vout->render_time )
+            if( display_date < current_date + p_vout->render_time )
             {
                 /* Picture is late: it will be destroyed and the thread
                  * will sleep and go to next picture */