diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-07-28 12:46:26 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-07-28 12:46:26 +0000 |
commit | df3a80b50a452f54878f5011207a864d703a943d (patch) | |
tree | f33f2102df6183e8c6225adeda1ced76cc4542ec | |
parent | bd35bdf1b2e716e7d0ea600d1af9a782ebc2ec61 (diff) | |
download | ffmpeg-df3a80b50a452f54878f5011207a864d703a943d.tar.gz |
cosmetics: misc typo fixes
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/avcodec.h | 4 | ||||
-rw-r--r-- | libavcodec/bitstream.c | 2 | ||||
-rw-r--r-- | libavcodec/bitstream.h | 2 | ||||
-rw-r--r-- | libavcodec/cabac.h | 2 | ||||
-rw-r--r-- | libavcodec/cook.c | 2 | ||||
-rw-r--r-- | libavcodec/libgsm.c | 2 | ||||
-rw-r--r-- | libavcodec/ppc/snow_altivec.c | 8 | ||||
-rw-r--r-- | libavcodec/ratecontrol.c | 2 | ||||
-rw-r--r-- | libavcodec/snow.c | 4 | ||||
-rw-r--r-- | libavformat/swf.c | 2 |
10 files changed, 15 insertions, 15 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 7b47b98fe9..1fd891caa1 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2834,7 +2834,7 @@ void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); * Frees all static arrays and resets their pointers to 0. * Call this function to release all statically allocated tables. * - * @deprecated. Code which uses av_free_static is broken/missdesigned + * @deprecated. Code which uses av_free_static is broken/misdesigned * and should correctly use static arrays * */ @@ -2847,7 +2847,7 @@ attribute_deprecated void av_free_static(void); * * @param[in] size The amount of memory you need in bytes. * @return block of memory of the requested size - * @deprecated. Code which uses av_mallocz_static is broken/missdesigned + * @deprecated. Code which uses av_mallocz_static is broken/misdesigned * and should correctly use static arrays */ attribute_deprecated void *av_mallocz_static(unsigned int size); diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c index 2838e9304b..a5b87a1754 100644 --- a/libavcodec/bitstream.c +++ b/libavcodec/bitstream.c @@ -36,7 +36,7 @@ * @param[in] ptr The block of memory to reallocate. * @param[in] size The requested size. * @return Block of memory of requested size. - * @deprecated. Code which uses ff_realloc_static is broken/missdesigned + * @deprecated. Code which uses ff_realloc_static is broken/misdesigned. * and should correctly use static arrays */ attribute_deprecated void *ff_realloc_static(void *ptr, unsigned int size); diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h index fd1b4a94f8..9ca693ed23 100644 --- a/libavcodec/bitstream.h +++ b/libavcodec/bitstream.h @@ -176,7 +176,7 @@ typedef struct RL_VLC_ELEM { #define UNALIGNED_STORES_ARE_BAD #endif -/* used to avoid missaligned exceptions on some archs (alpha, ...) */ +/* used to avoid misaligned exceptions on some archs (alpha, ...) */ #if defined(ARCH_X86) # define unaligned16(a) (*(const uint16_t*)(a)) # define unaligned32(a) (*(const uint32_t*)(a)) diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index e27bcbc46a..53a2fdfc5e 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -457,7 +457,7 @@ static av_always_inline int get_cabac_inline(CABACContext *c, uint8_t * const st "2: \n\t" "movl %%edx, "RANGE "(%2) \n\t" "movl %%ebx, "LOW "(%2) \n\t" - :"=&a"(bit) //FIXME this is fragile gcc either runs out of registers or misscompiles it (for example if "+a"(bit) or "+m"(*state) is used + :"=&a"(bit) //FIXME this is fragile gcc either runs out of registers or miscompiles it (for example if "+a"(bit) or "+m"(*state) is used :"r"(state), "r"(c) : "%"REG_c, "%ebx", "%edx", "%"REG_S, "memory" ); diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 4b12cb289d..9f03fb419f 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -283,7 +283,7 @@ static int init_cplscales_table (COOKContext *q) { * Why? No idea, some checksum/error detection method maybe. * * Out buffer size: extra bytes are needed to cope with - * padding/missalignment. + * padding/misalignment. * Subpackets passed to the decoder can contain two, consecutive * half-subpackets, of identical but arbitrary size. * 1234 1234 1234 1234 extraA extraB diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c index 1e3a3d079f..4fe2b384b3 100644 --- a/libavcodec/libgsm.c +++ b/libavcodec/libgsm.c @@ -30,7 +30,7 @@ #include "avcodec.h" #include <gsm.h> -// gsm.h miss some essential constants +// gsm.h misses some essential constants #define GSM_BLOCK_SIZE 33 #define GSM_MS_BLOCK_SIZE 65 #define GSM_FRAME_SIZE 160 diff --git a/libavcodec/ppc/snow_altivec.c b/libavcodec/ppc/snow_altivec.c index 815b3097de..cd438d7b3a 100644 --- a/libavcodec/ppc/snow_altivec.c +++ b/libavcodec/ppc/snow_altivec.c @@ -522,7 +522,7 @@ static void inner_add_yblock_bw_8_obmc_16_altivec(uint8_t *obmc, vector signed int *v = (vector signed int *)vbuf, *d; for(y=0; y<b_h; y++){ - //FIXME ugly missue of obmc_stride + //FIXME ugly misue of obmc_stride uint8_t *obmc1= obmc + y*obmc_stride; uint8_t *obmc2= obmc1+ (obmc_stride>>1); @@ -588,7 +588,7 @@ static void inner_add_yblock_bw_16_obmc_32_altivec(uint8_t *obmc, vector signed int *v = (vector signed int *)vbuf, *d; for(y=0; y<b_h; y++){ - //FIXME ugly missue of obmc_stride + //FIXME ugly misue of obmc_stride uint8_t *obmc1= obmc + y*obmc_stride; uint8_t *obmc2= obmc1+ (obmc_stride>>1); @@ -671,7 +671,7 @@ static void inner_add_yblock_a_bw_8_obmc_16_altivec(uint8_t *obmc, vector signed int *v = (vector signed int *)vbuf, *d; for(y=0; y<b_h; y++){ - //FIXME ugly missue of obmc_stride + //FIXME ugly misue of obmc_stride uint8_t *obmc1= obmc + y*obmc_stride; uint8_t *obmc2= obmc1+ (obmc_stride>>1); @@ -717,7 +717,7 @@ static void inner_add_yblock_a_bw_16_obmc_32_altivec(uint8_t *obmc, vector signed int *v = (vector signed int *)vbuf, *d; for(y=0; y<b_h; y++){ - //FIXME ugly missue of obmc_stride + //FIXME ugly misue of obmc_stride uint8_t *obmc1= obmc + y*obmc_stride; uint8_t *obmc2= obmc1+ (obmc_stride>>1); diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index d08729c1de..d62bc851d8 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -243,7 +243,7 @@ int ff_rate_control_init(MpegEncContext *s) bits= rce.i_tex_bits + rce.p_tex_bits; q= get_qscale(s, &rce, rcc->pass1_wanted_bits/rcc->pass1_rc_eq_output_sum, i); - rcc->pass1_wanted_bits+= s->bit_rate/(1/av_q2d(s->avctx->time_base)); //FIXME missbehaves a little for variable fps + rcc->pass1_wanted_bits+= s->bit_rate/(1/av_q2d(s->avctx->time_base)); //FIXME misbehaves a little for variable fps } } diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 68d2566067..35bfc8356e 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -2520,7 +2520,7 @@ void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride, uint8_ int y, x; DWTELEM * dst; for(y=0; y<b_h; y++){ - //FIXME ugly missue of obmc_stride + //FIXME ugly misue of obmc_stride const uint8_t *obmc1= obmc + y*obmc_stride; const uint8_t *obmc2= obmc1+ (obmc_stride>>1); const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1); @@ -2680,7 +2680,7 @@ assert(src_stride > 2*MB_SIZE + 5); STOP_TIMER("inner_add_yblock") }else for(y=0; y<b_h; y++){ - //FIXME ugly missue of obmc_stride + //FIXME ugly misue of obmc_stride const uint8_t *obmc1= obmc + y*obmc_stride; const uint8_t *obmc2= obmc1+ (obmc_stride>>1); const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1); diff --git a/libavformat/swf.c b/libavformat/swf.c index 286462381b..88981076e4 100644 --- a/libavformat/swf.c +++ b/libavformat/swf.c @@ -283,7 +283,7 @@ static int swf_write_header(AVFormatContext *s) } if (!video_enc) { - /* currenty, cannot work correctly if audio only */ + /* currently, cannot work correctly if audio only */ swf->video_type = 0; width = 320; height = 200; |