]> git.sesse.net Git - ffmpeg/commitdiff
typos/grammar
authorDiego Biurrun <diego@biurrun.de>
Sat, 7 Apr 2007 14:09:20 +0000 (14:09 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 7 Apr 2007 14:09:20 +0000 (14:09 +0000)
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 files changed:
libavcodec/bitstream.h
libavcodec/h264.c
libavcodec/mpeg12.c
libavcodec/mpegvideo.h
libavcodec/parser.c
libavcodec/parser.h
libavcodec/ppc/mpegvideo_altivec.c
libavcodec/ps2/mpegvideo_mmi.c
libavcodec/ratecontrol.c
libavformat/avformat.h
libavformat/http.c
libavformat/mtv.c
libpostproc/postprocess_template.c

index 18842702c2eb535033dbe0714007f4602df6f21c..e584774e9a63f843c7cef9ff73d2a6c21956ce73 100644 (file)
@@ -873,7 +873,7 @@ void free_vlc(VLC *vlc);
  * 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
  */
index 085e18a896b31465ef47c81f59ff10a0d4c95243..e4e32346cf4b4adbabc9e2f229800b9e73e94a24 100644 (file)
@@ -8133,7 +8133,7 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){
       } 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;
         }
index c0fa7e4bc3e0c1088700422de2f193516413715c..d8809551f114ce4dea0cc2a8ac1cabe57f7cc80c 100644 (file)
@@ -1287,7 +1287,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
         }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{
index 80e0f9065f30edb32794067b5fc162ce933e630c..8b230a7a5e8cb8057950731300478ba724030cfc 100644 (file)
@@ -381,7 +381,7 @@ typedef struct MpegEncContext {
     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 */
index f3e7ee33565169e8ebe519058b5f7e7493b8b989..d5b1bf168943057671c9a09ef33dc4138d73c3d0 100644 (file)
@@ -230,7 +230,7 @@ int ff_combine_frame(ParseContext *pc, int next, uint8_t **buf, int *buf_size)
     }
 #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++];
     }
index 3496b341f4915c7b482b835e4857c374d195865f..9452a096c097b14b1a0590d62d2fa7e00251f76c 100644 (file)
@@ -31,7 +31,7 @@ typedef struct ParseContext{
     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;
index 3822cb20ec01f06cb18d203646b2c25f975d29cd..0a789d16de85f70ccbc1c8ee7f5c88d673e54988 100644 (file)
@@ -515,7 +515,7 @@ POWERPC_PERF_START_COUNT(altivec_dct_unquantize_h263_num, 1);
         }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] ];
index 1e5f08aae3a7ab2e7057e56804c67792777f4e7b..c21fe7d1434666ffc93c01334aa33986f1bc0705 100644 (file)
@@ -45,7 +45,7 @@ static void dct_unquantize_h263_mmi(MpegEncContext *s,
             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] ];
     }
index 6d9270da884339f7b712f0da442af294c5aaee68..41bf8db4a8d1903f66e385804620469994a2713c 100644 (file)
@@ -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
index eb8c4e1534b4dd6b9aeddfeb05025e10191ef8c4..1d811f324f4a00fcd35cc16338d5a76acd74d6f3 100644 (file)
@@ -204,7 +204,7 @@ typedef struct AVInputFormat {
     int (*read_probe)(AVProbeData *);
     /** read the format header and initialize the AVFormatContext
        structure. Return 0 if OK. 'ap' if non NULL contains
-       additionnal paramters. Only used in raw format right
+       additional paramters. Only used in raw format right
        now. 'av_new_stream' should be called to create new streams.  */
     int (*read_header)(struct AVFormatContext *,
                        AVFormatParameters *ap);
@@ -526,7 +526,7 @@ int av_open_input_stream(AVFormatContext **ic_ptr,
  * @param filename filename to open.
  * @param fmt if non NULL, force the file format to use
  * @param buf_size optional buffer size (zero if default is OK)
- * @param ap additionnal parameters needed when opening the file (NULL if default)
+ * @param ap additional parameters needed when opening the file (NULL if default)
  * @return 0 if OK. AVERROR_xxx otherwise.
  */
 int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
index e057d6efe90e1e8828e850ad90bc23b189c46ee8..b28a56f7eac689bf0e2a56e0d9337abfc79f8615 100644 (file)
@@ -24,8 +24,8 @@
 
 #include "base64.h"
 
-/* XXX: POST protocol is not completly implemented because ffmpeg use
-   only a subset of it */
+/* XXX: POST protocol is not completely implemented because ffmpeg uses
+   only a subset of it. */
 
 //#define DEBUG
 
index 7a68ea97f3836e3b892f9ea56ed5f2d6b48990b4..55800867e8931227151a71172d13674420499733 100644 (file)
@@ -89,7 +89,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
 
     /* FIXME Add sanity check here */
 
-    /* first packet is allways audio*/
+    /* first packet is always audio*/
 
     mtv->audio_packet_count = 1;
 
index f084130a66299c197fa064bac0bc5d9613018716..730c58b231d3146092de49f55b2d18f088e255c1 100644 (file)
@@ -3415,7 +3415,7 @@ static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int
                         sum+= yHistogram[i];
                 }
 
-                /* we allways get a completly black picture first */
+                /* We always get a completely black picture first. */
                 maxClipped= (uint64_t)(sum * c.ppMode.maxClippedThreshold);
 
                 clipped= sum;