Mercurial > libavcodec.hg
changeset 5408:20bea6a9950c libavcodec
cosmetics: misc typo fixes
author | diego |
---|---|
date | Sat, 28 Jul 2007 12:46:26 +0000 |
parents | 91906ea3337f |
children | 13d52b7647a0 |
files | avcodec.h bitstream.c bitstream.h cabac.h cook.c libgsm.c ppc/snow_altivec.c ratecontrol.c snow.c |
diffstat | 9 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/avcodec.h Fri Jul 27 16:31:54 2007 +0000 +++ b/avcodec.h Sat Jul 28 12:46:26 2007 +0000 @@ -2834,7 +2834,7 @@ * 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 @@ * * @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);
--- a/bitstream.c Fri Jul 27 16:31:54 2007 +0000 +++ b/bitstream.c Sat Jul 28 12:46:26 2007 +0000 @@ -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);
--- a/bitstream.h Fri Jul 27 16:31:54 2007 +0000 +++ b/bitstream.h Sat Jul 28 12:46:26 2007 +0000 @@ -176,7 +176,7 @@ #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))
--- a/cabac.h Fri Jul 27 16:31:54 2007 +0000 +++ b/cabac.h Sat Jul 28 12:46:26 2007 +0000 @@ -457,7 +457,7 @@ "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" );
--- a/cook.c Fri Jul 27 16:31:54 2007 +0000 +++ b/cook.c Sat Jul 28 12:46:26 2007 +0000 @@ -283,7 +283,7 @@ * 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
--- a/libgsm.c Fri Jul 27 16:31:54 2007 +0000 +++ b/libgsm.c Sat Jul 28 12:46:26 2007 +0000 @@ -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
--- a/ppc/snow_altivec.c Fri Jul 27 16:31:54 2007 +0000 +++ b/ppc/snow_altivec.c Sat Jul 28 12:46:26 2007 +0000 @@ -522,7 +522,7 @@ 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 @@ 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 @@ 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 @@ 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);
--- a/ratecontrol.c Fri Jul 27 16:31:54 2007 +0000 +++ b/ratecontrol.c Sat Jul 28 12:46:26 2007 +0000 @@ -243,7 +243,7 @@ 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 } }
--- a/snow.c Fri Jul 27 16:31:54 2007 +0000 +++ b/snow.c Sat Jul 28 12:46:26 2007 +0000 @@ -2520,7 +2520,7 @@ 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 @@ 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);