summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 807fcddaa7..589e2fac0a 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -656,6 +656,8 @@ int i;
int gui_no_filename=0;
+ srand((int) time(NULL));
+
mp_msg_init();
mp_msg_set_level(MSGL_STATUS);