changeset 4795:522e52c630bd libavcodec

typos/grammar
author diego
date Sat, 07 Apr 2007 14:09:20 +0000
parents 2c9f06854306
children 231daf8387b1
files bitstream.h h264.c mpeg12.c mpegvideo.h parser.c parser.h ppc/mpegvideo_altivec.c ps2/mpegvideo_mmi.c ratecontrol.c
diffstat 9 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/bitstream.h	Sat Apr 07 14:07:33 2007 +0000
+++ b/bitstream.h	Sat Apr 07 14:09:20 2007 +0000
@@ -873,7 +873,7 @@
  * parses a vlc code, faster then get_vlc()
  * @param bits is the number of bits which will be read at once, must be
  *             identical to nb_bits in init_vlc()
- * @param max_depth is the number of times bits bits must be readed to completly
+ * @param max_depth is the number of times bits bits must be read to completely
  *                  read the longest vlc code
  *                  = (max_vlc_length + bits - 1) / bits
  */
--- a/h264.c	Sat Apr 07 14:07:33 2007 +0000
+++ b/h264.c	Sat Apr 07 14:09:20 2007 +0000
@@ -8133,7 +8133,7 @@
       } else {
         // start code prefix search
         for(; buf_index + 3 < buf_size; buf_index++){
-            // this should allways succeed in the first iteration
+            // This should always succeed in the first iteration.
             if(buf[buf_index] == 0 && buf[buf_index+1] == 0 && buf[buf_index+2] == 1)
                 break;
         }
--- a/mpeg12.c	Sat Apr 07 14:07:33 2007 +0000
+++ b/mpeg12.c	Sat Apr 07 14:09:20 2007 +0000
@@ -1287,7 +1287,7 @@
         }else{
             assert(mb_type & MB_TYPE_L0L1);
 //FIXME decide if MBs in field pictures are MB_TYPE_INTERLACED
-            /* get additionnal motion vector type */
+            /* get additional motion vector type */
             if (s->frame_pred_frame_dct)
                 motion_type = MT_FRAME;
             else{
--- a/mpegvideo.h	Sat Apr 07 14:07:33 2007 +0000
+++ b/mpegvideo.h	Sat Apr 07 14:09:20 2007 +0000
@@ -381,7 +381,7 @@
     MotionEstContext me;
 
     int no_rounding;  /**< apply no rounding to motion compensation (MPEG4, msmpeg4, ...)
-                        for b-frames rounding mode is allways 0 */
+                        for b-frames rounding mode is always 0 */
 
     int hurry_up;     /**< when set to 1 during decoding, b frames will be skipped
                          when set to 2 idct/dequant will be skipped too */
--- a/parser.c	Sat Apr 07 14:07:33 2007 +0000
+++ b/parser.c	Sat Apr 07 14:09:20 2007 +0000
@@ -230,7 +230,7 @@
     }
 #endif
 
-    /* copy overreaded bytes from last frame into buffer */
+    /* Copy overread bytes from last frame into buffer. */
     for(; pc->overread>0; pc->overread--){
         pc->buffer[pc->index++]= pc->buffer[pc->overread_index++];
     }
--- a/parser.h	Sat Apr 07 14:07:33 2007 +0000
+++ b/parser.h	Sat Apr 07 14:09:20 2007 +0000
@@ -31,7 +31,7 @@
     uint32_t state;             ///< contains the last few bytes in MSB order
     int frame_start_found;
     int overread;               ///< the number of bytes which where irreversibly read from the next frame
-    int overread_index;         ///< the index into ParseContext.buffer of the overreaded bytes
+    int overread_index;         ///< the index into ParseContext.buffer of the overread bytes
 } ParseContext;
 
 struct MpegEncContext;
--- a/ppc/mpegvideo_altivec.c	Sat Apr 07 14:07:33 2007 +0000
+++ b/ppc/mpegvideo_altivec.c	Sat Apr 07 14:09:20 2007 +0000
@@ -515,7 +515,7 @@
         }else
             qadd = 0;
         i = 1;
-        nCoeffs= 63; //does not allways use zigzag table
+        nCoeffs= 63; //does not always use zigzag table
     } else {
         i = 0;
         nCoeffs= s->intra_scantable.raster_end[ s->block_last_index[n] ];
--- a/ps2/mpegvideo_mmi.c	Sat Apr 07 14:07:33 2007 +0000
+++ b/ps2/mpegvideo_mmi.c	Sat Apr 07 14:09:20 2007 +0000
@@ -45,7 +45,7 @@
             qadd = 0;
             level = block[0];
         }
-        nCoeffs= 63; //does not allways use zigzag table
+        nCoeffs= 63; //does not always use zigzag table
     } else {
         nCoeffs= s->intra_scantable.raster_end[ s->block_last_index[n] ];
     }
--- a/ratecontrol.c	Sat Apr 07 14:07:33 2007 +0000
+++ b/ratecontrol.c	Sat Apr 07 14:09:20 2007 +0000
@@ -31,7 +31,7 @@
 #include "mpegvideo.h"
 #include "eval.h"
 
-#undef NDEBUG // allways check asserts, the speed effect is far too small to disable them
+#undef NDEBUG // Always check asserts, the speed effect is far too small to disable them.
 #include <assert.h>
 
 #ifndef M_E