From 773a4c1f84e15dd4a248382e1f4a977ba5c6a9e1 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 19 Apr 2012 09:52:57 -0500 Subject: [PATCH] FS-4128 --- src/mod/formats/mod_local_stream/mod_local_stream.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mod/formats/mod_local_stream/mod_local_stream.c b/src/mod/formats/mod_local_stream/mod_local_stream.c index 18d490947e..1e795ed587 100644 --- a/src/mod/formats/mod_local_stream/mod_local_stream.c +++ b/src/mod/formats/mod_local_stream/mod_local_stream.c @@ -94,14 +94,10 @@ struct local_stream_source { typedef struct local_stream_source local_stream_source_t; -static unsigned int S = 0; - static int do_rand(void) { double r; int index; - unsigned int seed = ++S + getpid(); - srand(seed); r = ((double) rand() / ((double) (RAND_MAX) + (double) (1))); index = (int) (r * 9) + 1; return index;