# HG changeset patch # User diego # Date 1185626786 0 # Node ID 20bea6a9950c0aa56d66ff43c5ec8a17f46741cc # Parent 91906ea3337f51260130da76c3554825b0b45123 cosmetics: misc typo fixes diff -r 91906ea3337f -r 20bea6a9950c avcodec.h --- 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); diff -r 91906ea3337f -r 20bea6a9950c bitstream.c --- 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); diff -r 91906ea3337f -r 20bea6a9950c bitstream.h --- 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)) diff -r 91906ea3337f -r 20bea6a9950c cabac.h --- 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" ); diff -r 91906ea3337f -r 20bea6a9950c cook.c --- 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 diff -r 91906ea3337f -r 20bea6a9950c libgsm.c --- 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 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 -r 91906ea3337f -r 20bea6a9950c ppc/snow_altivec.c --- 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>1); @@ -588,7 +588,7 @@ vector signed int *v = (vector signed int *)vbuf, *d; for(y=0; y>1); @@ -671,7 +671,7 @@ vector signed int *v = (vector signed int *)vbuf, *d; for(y=0; y>1); @@ -717,7 +717,7 @@ vector signed int *v = (vector signed int *)vbuf, *d; for(y=0; y>1); diff -r 91906ea3337f -r 20bea6a9950c ratecontrol.c --- 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 } } diff -r 91906ea3337f -r 20bea6a9950c snow.c --- 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>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>1); const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1);