aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Castet <castet.matthieu@free.fr>2008-07-13 21:44:00 +0000
committerDiego Biurrun <diego@biurrun.de>2008-07-13 21:44:00 +0000
commit4a8361f848945b79eac601d04ca05d1125609c74 (patch)
treee162ac5666c1cb08ddcaefd66e42f46ef58996d5
parent9606a838241035c6168ccd33f6ca0e4f9c6807b1 (diff)
downloadffmpeg-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.c2
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);