[FFmpeg-cvslog] r14222 - trunk/tools/trasher.c
diego
subversion
Sun Jul 13 23:44:01 CEST 2008
Author: diego
Date: Sun Jul 13 23:44:00 2008
New Revision: 14222
Log:
tools/trasher: Don't mix srand/rand and srandom/random interface.
patch by matthieu castet, castet.matthieu free fr
Modified:
trunk/tools/trasher.c
Modified: trunk/tools/trasher.c
==============================================================================
--- trunk/tools/trasher.c (original)
+++ trunk/tools/trasher.c Sun Jul 13 23:44:00 2008
@@ -41,7 +41,7 @@ int main(int argc, char** argv)
count= atoi(argv[2]);
maxburst= atoi(argv[3]);
- srand (time (0));
+ srandom (time (0));
fseek(f, 0, SEEK_END);
length= ftell(f);
More information about the ffmpeg-cvslog
mailing list