changeset 11550:18d3b3a1101b

InitTimer has to be called before *Timer-Functions can be used. Actually on x86 it works anyway, but for Darwin this is needed. (Patch by Steven M. Schultz)
author ranma
date Tue, 02 Dec 2003 23:40:05 +0000
parents 58d9a64ca336
children 24697d0d96a2
files mencoder.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Tue Dec 02 22:53:06 2003 +0000
+++ b/mencoder.c	Tue Dec 02 23:40:05 2003 +0000
@@ -402,6 +402,8 @@
 #endif
 #endif
   
+  InitTimer();
+
 // check codec.conf
 if(!parse_codec_cfg(get_path("codecs.conf"))){
   if(!parse_codec_cfg(MPLAYER_CONFDIR "/codecs.conf")){