1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Matthieu Castet 2008-07-13 21:44:00 +00:00 committed by Diego Biurrun
parent 9606a83824
commit 4a8361f848

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