1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00

The following patch adds a call to srand() with the current time at the

start of main(). It makees "-shuffle" to works as expected.
Krister Lagerstrom <krister@kmlager.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8933 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2003-01-12 22:40:51 +00:00
parent aba06480f7
commit 7b00975227

View File

@ -656,6 +656,8 @@ int i;
int gui_no_filename=0;
srand((int) time(NULL));
mp_msg_init();
mp_msg_set_level(MSGL_STATUS);