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
pull/126/head
Matthieu Castet 17 years ago committed by Diego Biurrun
parent 9606a83824
commit 4a8361f848
  1. 2
      tools/trasher.c

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