diff random.c @ 633:8c48a1b999a3 libavutil

spelling/grammar/consistency review part I
author diego
date Wed, 28 Jan 2009 00:16:05 +0000
parents ed203c477511
children c04808220c83
line wrap: on
line diff
--- a/random.c	Tue Jan 27 00:46:18 2009 +0000
+++ b/random.c	Wed Jan 28 00:16:05 2009 +0000
@@ -29,19 +29,19 @@
 #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. */