aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/random.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-28 23:16:49 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-28 23:16:49 +0000
commit7d685b486b03ddf734fc5d14ea29fbf0ffc9e51c (patch)
treee5a81591fb2bab9e11aba6ebadc4775ea65993db /libavutil/random.h
parentbfe3676feb5548993292b806de45a1cbc746c05f (diff)
downloadffmpeg-7d685b486b03ddf734fc5d14ea29fbf0ffc9e51c.tar.gz
spelling/grammar/consistency review part III
Originally committed as revision 16849 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/random.h')
-rw-r--r--libavutil/random.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/random.h b/libavutil/random.h
index 93bbad867d..4d16eb92df 100644
--- a/libavutil/random.h
+++ b/libavutil/random.h
@@ -1,5 +1,5 @@
/*
- * Mersenne Twister Random Algorithm
+ * Mersenne Twister PRNG algorithm
* Copyright (c) 2006 Ryan Martell
* Based on a C program for MT19937, with initialization improved 2002/1/26.
* Coded by Takuji Nishimura and Makoto Matsumoto.
@@ -44,8 +44,8 @@ void av_random_generate_untempered_numbers(AVRandomState *state); ///< Regenerat
/**
* Generates a random number from the interval [0,0xffffffff].
*
- * Please do NOT use the Mersenne Twister, it is slow. Use the random generator
- * from lfg.c/h or a simple LCG like state= state*1664525+1013904223.
+ * Please do NOT use the Mersenne Twister, it is slow. Use the random number
+ * generator from lfg.c/h or a simple LCG like state = state*1664525+1013904223.
* If you still choose to use MT, expect that you will have to provide
* some evidence that it makes a difference for the case where you use it.
*/
@@ -69,7 +69,7 @@ static inline unsigned int av_random(AVRandomState *state)
return y;
}
-/** Return random in range [0-1] as double. */
+/** Returns a random number in the range [0-1] as double. */
static inline double av_random_real1(AVRandomState *state)
{
/* divided by 2^32-1 */