diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-04-07 14:09:20 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-04-07 14:09:20 +0000 |
commit | e42dba481f6e552539ed8ce1a164024f68667943 (patch) | |
tree | 1bd9fca6580e24eb697a145eab31d487a7645ba9 /libavcodec | |
parent | 911406f2c476c8e8fcd0fdf997f071f925cd4a32 (diff) | |
download | ffmpeg-e42dba481f6e552539ed8ce1a164024f68667943.tar.gz |
typos/grammar
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bitstream.h | 2 | ||||
-rw-r--r-- | libavcodec/h264.c | 2 | ||||
-rw-r--r-- | libavcodec/mpeg12.c | 2 | ||||
-rw-r--r-- | libavcodec/mpegvideo.h | 2 | ||||
-rw-r--r-- | libavcodec/parser.c | 2 | ||||
-rw-r--r-- | libavcodec/parser.h | 2 | ||||
-rw-r--r-- | libavcodec/ppc/mpegvideo_altivec.c | 2 | ||||
-rw-r--r-- | libavcodec/ps2/mpegvideo_mmi.c | 2 | ||||
-rw-r--r-- | libavcodec/ratecontrol.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h index 18842702c2..e584774e9a 100644 --- a/libavcodec/bitstream.h +++ b/libavcodec/bitstream.h @@ -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 */ diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 085e18a896..e4e32346cf 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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; } diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index c0fa7e4bc3..d8809551f1 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -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{ diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 80e0f9065f..8b230a7a5e 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -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 */ diff --git a/libavcodec/parser.c b/libavcodec/parser.c index f3e7ee3356..d5b1bf1689 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -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++]; } diff --git a/libavcodec/parser.h b/libavcodec/parser.h index 3496b341f4..9452a096c0 100644 --- a/libavcodec/parser.h +++ b/libavcodec/parser.h @@ -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; diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index 3822cb20ec..0a789d16de 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -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] ]; diff --git a/libavcodec/ps2/mpegvideo_mmi.c b/libavcodec/ps2/mpegvideo_mmi.c index 1e5f08aae3..c21fe7d143 100644 --- a/libavcodec/ps2/mpegvideo_mmi.c +++ b/libavcodec/ps2/mpegvideo_mmi.c @@ -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] ]; } diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 6d9270da88..41bf8db4a8 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -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 |