diff options
Diffstat (limited to 'libavutil/random.c')
-rw-r--r-- | libavutil/random.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/random.c b/libavutil/random.c index c17686e24c..468ab71783 100644 --- a/libavutil/random.c +++ b/libavutil/random.c @@ -29,19 +29,19 @@ see http://en.wikipedia.org/wiki/Mersenne_twister for an explanation of this alg #include "random.h" -/* Period parameters */ +/* period parameters */ #define M 397 #define A 0x9908b0df /* constant vector a */ #define UPPER_MASK 0x80000000 /* most significant w-r bits */ #define LOWER_MASK 0x7fffffff /* least significant r bits */ -/** initializes mt[AV_RANDOM_N] with a seed */ +/** Initializes mt[AV_RANDOM_N] with a seed. */ void av_random_init(AVRandomState *state, unsigned int seed) { int index; /* - This differs from the wikipedia article. Source is from the + This differs from the Wikipedia article. Source is from the Makoto Matsumoto and Takuji Nishimura code, with the following comment: */ /* See Knuth TAOCP Vol2. 3rd Ed. P.106 for multiplier. */ |