[Mplayer-cvslog] CVS: main mplayer.c,1.649,1.650
Arpi of Ize
arpi at mplayerhq.hu
Sun Jan 12 23:41:12 CET 2003
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/Hungarian bugreports.html,1.27,1.28 documentation.html,1.176,1.177 encoding.html,1.42,1.43 faq.html,1.64,1.65 formats.html,1.29,1.30 sound.html,1.39,1.40
- Next message: [Mplayer-cvslog] CVS: main/Gui/mplayer mw.c,1.103,1.104
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv24912
Modified Files:
mplayer.c
Log Message:
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 at kmlager.com>
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.649
retrieving revision 1.650
diff -u -r1.649 -r1.650
--- mplayer.c 12 Jan 2003 19:41:37 -0000 1.649
+++ mplayer.c 12 Jan 2003 22:40:51 -0000 1.650
@@ -656,6 +656,8 @@
int gui_no_filename=0;
+ srand((int) time(NULL));
+
mp_msg_init();
mp_msg_set_level(MSGL_STATUS);
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/Hungarian bugreports.html,1.27,1.28 documentation.html,1.176,1.177 encoding.html,1.42,1.43 faq.html,1.64,1.65 formats.html,1.29,1.30 sound.html,1.39,1.40
- Next message: [Mplayer-cvslog] CVS: main/Gui/mplayer mw.c,1.103,1.104
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list