diff options
author | Matthieu Castet <castet.matthieu@free.fr> | 2008-07-13 21:44:00 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-07-13 21:44:00 +0000 |
commit | 4a8361f848945b79eac601d04ca05d1125609c74 (patch) | |
tree | e162ac5666c1cb08ddcaefd66e42f46ef58996d5 | |
parent | 9606a838241035c6168ccd33f6ca0e4f9c6807b1 (diff) | |
download | ffmpeg-4a8361f848945b79eac601d04ca05d1125609c74.tar.gz |
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
-rw-r--r-- | tools/trasher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/trasher.c b/tools/trasher.c index 9e1961f857..baf1bc3f60 100644 --- a/tools/trasher.c +++ b/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); |