Browse Source

tools/trasher: Don't mix srand/rand and srandom/random interface.

patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 14222 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Matthieu Castet Diego Biurrun 17 years ago
parent
commit
4a8361f848
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/trasher.c

+ 1
- 1
tools/trasher.c View File

@@ -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);


Loading…
Cancel
Save