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:
parent
9606a83824
commit
4a8361f848
@ -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…
Reference in New Issue
Block a user