diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-01-28 00:16:05 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-01-28 00:16:05 +0000 |
commit | 89c9ff504b29d03cf266aa3598ccb8d2cf1ddd13 (patch) | |
tree | 340147cb9f4382a838ae971bf991c2f42482077c /libavutil/random.c | |
parent | d972e56cf21e9fa12922704da276d26111b5dbc1 (diff) | |
download | ffmpeg-89c9ff504b29d03cf266aa3598ccb8d2cf1ddd13.tar.gz |
spelling/grammar/consistency review part I
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
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. */ |