Commit 4a8361f8 authored by Matthieu Castet's avatar Matthieu Castet Committed by Diego Biurrun

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
parent 9606a838
...@@ -41,7 +41,7 @@ int main(int argc, char** argv) ...@@ -41,7 +41,7 @@ int main(int argc, char** argv)
count= atoi(argv[2]); count= atoi(argv[2]);
maxburst= atoi(argv[3]); maxburst= atoi(argv[3]);
srand (time (0)); srandom (time (0));
fseek(f, 0, SEEK_END); fseek(f, 0, SEEK_END);
length= ftell(f); length= ftell(f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment