Patch attached.
From 2d4094fc0dcb4ccd0735eb7e1719e228ebb56bb9 Mon Sep 17 00:00:00 2001
From: Lou Logan <lou@lrcd.com>
Date: Mon, 12 Mar 2012 14:13:44 -0800
Subject: [PATCH] cosmetics: fix some typos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -4,7 +4,7 @@ FFmpeg maintainers |
4 | 4 |
Below is a list of the people maintaining different parts of the |
5 | 5 |
FFmpeg code. |
6 | 6 |
|
7 |
-Please try to keep entries where you are the maintainer upto date! |
|
7 |
+Please try to keep entries where you are the maintainer up to date! |
|
8 | 8 |
|
9 | 9 |
Names in () mean that the maintainer currently has no time to maintain the code. |
10 | 10 |
A CC after the name means that the maintainer prefers to be CC-ed on patches |
... | ... |
@@ -32,7 +32,7 @@ Special Converter v |
32 | 32 |
Output |
33 | 33 |
|
34 | 34 |
Planar/Packed convertion is done when needed during sample format convertion |
35 |
-Every step can be skiped without memcpy when its not needed. |
|
35 |
+Every step can be skipped without memcpy when its not needed. |
|
36 | 36 |
Either Resampling and Rematrixing can be performed first depending on which |
37 | 37 |
way its faster. |
38 | 38 |
The Buffers are needed for resampling due to resamplng being a process that |
... | ... |
@@ -80,7 +80,7 @@ |
80 | 80 |
* If you add a codec ID to this list, add it so that |
81 | 81 |
* 1. no value of a existing codec ID changes (that would break ABI), |
82 | 82 |
* 2. Give it a value which when taken as ASCII is recognized uniquely by a human as this specific codec. |
83 |
- * This ensures that 2 forks can independantly add CodecIDs without producing conflicts. |
|
83 |
+ * This ensures that 2 forks can independently add CodecIDs without producing conflicts. |
|
84 | 84 |
*/ |
85 | 85 |
enum CodecID { |
86 | 86 |
CODEC_ID_NONE, |
... | ... |
@@ -491,7 +491,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s) |
491 | 491 |
s->skip_syntax = get_bits1(gbc); |
492 | 492 |
parse_spx_atten_data = get_bits1(gbc); |
493 | 493 |
|
494 |
- /* coupling strategy occurance and coupling use per block */ |
|
494 |
+ /* coupling strategy occurrence and coupling use per block */ |
|
495 | 495 |
num_cpl_blocks = 0; |
496 | 496 |
if (s->channel_mode > 1) { |
497 | 497 |
for (blk = 0; blk < s->num_blocks; blk++) { |
... | ... |
@@ -622,7 +622,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, |
622 | 622 |
1, |
623 | 623 |
0, |
624 | 624 |
0x800)) |
625 |
- /* Overflow occured, downscale excitation signal... */ |
|
625 |
+ /* Overflow occurred, downscale excitation signal... */ |
|
626 | 626 |
for (j = 0; j < 2 * SUBFRAME_SIZE + PITCH_DELAY_MAX + INTERPOL_LEN; j++) |
627 | 627 |
ctx->exc_base[j] >>= 2; |
628 | 628 |
|
... | ... |
@@ -89,7 +89,7 @@ static inline int get_block_rate(MpegEncContext * s, DCTELEM block[64], int bloc |
89 | 89 |
* @param[in,out] block MB coefficients, these will be restored |
90 | 90 |
* @param[in] dir ac prediction direction for each 8x8 block |
91 | 91 |
* @param[out] st scantable for each 8x8 block |
92 |
- * @param[in] zigzag_last_index index refering to the last non zero coefficient in zigzag order |
|
92 |
+ * @param[in] zigzag_last_index index referring to the last non zero coefficient in zigzag order |
|
93 | 93 |
*/ |
94 | 94 |
static inline void restore_ac_coeffs(MpegEncContext * s, DCTELEM block[6][64], const int dir[6], uint8_t *st[6], const int zigzag_last_index[6]) |
95 | 95 |
{ |
... | ... |
@@ -120,7 +120,7 @@ static inline void restore_ac_coeffs(MpegEncContext * s, DCTELEM block[6][64], c |
120 | 120 |
* @param[in,out] block MB coefficients, these will be updated if 1 is returned |
121 | 121 |
* @param[in] dir ac prediction direction for each 8x8 block |
122 | 122 |
* @param[out] st scantable for each 8x8 block |
123 |
- * @param[out] zigzag_last_index index refering to the last non zero coefficient in zigzag order |
|
123 |
+ * @param[out] zigzag_last_index index referring to the last non zero coefficient in zigzag order |
|
124 | 124 |
*/ |
125 | 125 |
static inline int decide_ac_pred(MpegEncContext * s, DCTELEM block[6][64], const int dir[6], uint8_t *st[6], int zigzag_last_index[6]) |
126 | 126 |
{ |
... | ... |
@@ -130,7 +130,7 @@ typedef struct Picture{ |
130 | 130 |
int ref_poc[2][2][32]; ///< h264 POCs of the frames/fields used as reference (FIXME need per slice) |
131 | 131 |
int ref_count[2][2]; ///< number of entries in ref_poc (FIXME need per slice) |
132 | 132 |
int mbaff; ///< h264 1 -> MBAFF frame 0-> not MBAFF |
133 |
- int field_picture; ///< whether or not the picture was encoded in seperate fields |
|
133 |
+ int field_picture; ///< whether or not the picture was encoded in separate fields |
|
134 | 134 |
int sync; ///< has been decoded after a keyframe |
135 | 135 |
|
136 | 136 |
int mb_var_sum; ///< sum of MB variance for current frame |
... | ... |
@@ -3686,7 +3686,7 @@ static int vc1_decode_p_mb_intfr(VC1Context *v) |
3686 | 3686 |
int idx_mbmode = 0, mvbp; |
3687 | 3687 |
int stride_y, fieldtx; |
3688 | 3688 |
|
3689 |
- mquant = v->pq; /* Loosy initialization */ |
|
3689 |
+ mquant = v->pq; /* Lossy initialization */ |
|
3690 | 3690 |
|
3691 | 3691 |
if (v->skip_is_raw) |
3692 | 3692 |
skipped = get_bits1(gb); |
... | ... |
@@ -3894,7 +3894,7 @@ static int vc1_decode_p_mb_intfi(VC1Context *v) |
3894 | 3894 |
int block_cbp = 0, pat, block_tt = 0; |
3895 | 3895 |
int idx_mbmode = 0; |
3896 | 3896 |
|
3897 |
- mquant = v->pq; /* Loosy initialization */ |
|
3897 |
+ mquant = v->pq; /* Lossy initialization */ |
|
3898 | 3898 |
|
3899 | 3899 |
idx_mbmode = get_vlc2(gb, v->mbmode_vlc->table, VC1_IF_MBMODE_VLC_BITS, 2); |
3900 | 3900 |
if (idx_mbmode <= 1) { // intra MB |
... | ... |
@@ -4167,7 +4167,7 @@ static void vc1_decode_b_mb_intfi(VC1Context *v) |
4167 | 4167 |
int bmvtype = BMV_TYPE_BACKWARD; |
4168 | 4168 |
int idx_mbmode, interpmvp; |
4169 | 4169 |
|
4170 |
- mquant = v->pq; /* Loosy initialization */ |
|
4170 |
+ mquant = v->pq; /* Lossy initialization */ |
|
4171 | 4171 |
s->mb_intra = 0; |
4172 | 4172 |
|
4173 | 4173 |
idx_mbmode = get_vlc2(gb, v->mbmode_vlc->table, VC1_IF_MBMODE_VLC_BITS, 2); |
... | ... |
@@ -73,7 +73,7 @@ typedef struct VP8DSPContext { |
73 | 73 |
* second dimension: 0 if no vertical interpolation is needed; |
74 | 74 |
* 1 4-tap vertical interpolation filter (my & 1) |
75 | 75 |
* 2 6-tap vertical interpolation filter (!(my & 1)) |
76 |
- * third dimension: same as second dimention, for horizontal interpolation |
|
76 |
+ * third dimension: same as second dimension, for horizontal interpolation |
|
77 | 77 |
* so something like put_vp8_epel_pixels_tab[width>>3][2*!!my-(my&1)][2*!!mx-(mx&1)](..., mx, my) |
78 | 78 |
*/ |
79 | 79 |
vp8_mc_func put_vp8_epel_pixels_tab[3][3][3]; |
... | ... |
@@ -123,7 +123,7 @@ typedef struct { |
123 | 123 |
int x; ///< x position to start drawing text |
124 | 124 |
int y; ///< y position to start drawing text |
125 | 125 |
int max_glyph_w; ///< max glyph width |
126 |
- int max_glyph_h; ///< max glyph heigth |
|
126 |
+ int max_glyph_h; ///< max glyph height |
|
127 | 127 |
int shadowx, shadowy; |
128 | 128 |
unsigned int fontsize; ///< font size to use |
129 | 129 |
char *fontcolor_string; ///< font color as string |
... | ... |
@@ -842,7 +842,7 @@ typedef struct AVFormatContext { |
842 | 842 |
#define AVFMT_FLAG_MP4A_LATM 0x8000 ///< Enable RTP MP4A-LATM payload |
843 | 843 |
#define AVFMT_FLAG_SORT_DTS 0x10000 ///< try to interleave outputted packets by dts (using this flag can slow demuxing down) |
844 | 844 |
#define AVFMT_FLAG_PRIV_OPT 0x20000 ///< Enable use of private options by delaying codec open (this could be made default once all code is converted) |
845 |
-#define AVFMT_FLAG_KEEP_SIDE_DATA 0x40000 ///< Dont merge side data but keep it seperate. |
|
845 |
+#define AVFMT_FLAG_KEEP_SIDE_DATA 0x40000 ///< Dont merge side data but keep it separate. |
|
846 | 846 |
|
847 | 847 |
/** |
848 | 848 |
* decoding: size of data to probe; encoding: unused. |
... | ... |
@@ -383,7 +383,7 @@ int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer); |
383 | 383 |
|
384 | 384 |
/** |
385 | 385 |
* Iterate through names of available protocols. |
386 |
- * @note it is recommanded to use av_protocol_next() instead of this |
|
386 |
+ * @note it is recommended to use av_protocol_next() instead of this |
|
387 | 387 |
* |
388 | 388 |
* @param opaque A private pointer representing current protocol. |
389 | 389 |
* It must be a pointer to NULL on first iteration and will |
... | ... |
@@ -277,7 +277,7 @@ static int nuv_resync(AVFormatContext *s, int64_t pos_limit) { |
277 | 277 |
|
278 | 278 |
/** |
279 | 279 |
* \brief attempts to read a timestamp from stream at the given stream position |
280 |
- * \return timestamp if successfull and AV_NOPTS_VALUE if failure |
|
280 |
+ * \return timestamp if successful and AV_NOPTS_VALUE if failure |
|
281 | 281 |
*/ |
282 | 282 |
static int64_t nuv_read_dts(AVFormatContext *s, int stream_index, |
283 | 283 |
int64_t *ppos, int64_t pos_limit) |
... | ... |
@@ -491,7 +491,7 @@ int swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_CH_MAX], int out_coun |
491 | 491 |
|
492 | 492 |
if(s->int_sample_fmt == s->out_sample_fmt && s->out.planar){ |
493 | 493 |
if(preout==in){ |
494 |
- out_count= FFMIN(out_count, in_count); //TODO check at teh end if this is needed or redundant |
|
494 |
+ out_count= FFMIN(out_count, in_count); //TODO check at the end if this is needed or redundant |
|
495 | 495 |
av_assert0(s->in.planar); //we only support planar internally so it has to be, we support copying non planar though |
496 | 496 |
copy(out, in, out_count); |
497 | 497 |
return out_count; |