From df3a80b50a452f54878f5011207a864d703a943d Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Sat, 28 Jul 2007 12:46:26 +0000
Subject: [PATCH] cosmetics: misc typo fixes

Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/avcodec.h          | 4 ++--
 libavcodec/bitstream.c        | 2 +-
 libavcodec/bitstream.h        | 2 +-
 libavcodec/cabac.h            | 2 +-
 libavcodec/cook.c             | 2 +-
 libavcodec/libgsm.c           | 2 +-
 libavcodec/ppc/snow_altivec.c | 8 ++++----
 libavcodec/ratecontrol.c      | 2 +-
 libavcodec/snow.c             | 4 ++--
 libavformat/swf.c             | 2 +-
 10 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 7b47b98fe9d..1fd891caa12 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 2838e9304bc..a5b87a17547 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 fd1b4a94f88..9ca693ed230 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 e27bcbc46ad..53a2fdfc5e7 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 4b12cb289d1..9f03fb419fa 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 1e3a3d079fc..4fe2b384b30 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 815b3097ded..cd438d7b3ad 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 d08729c1def..d62bc851d8e 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 68d25660678..35bfc8356e9 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 286462381b8..88981076e41 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;
-- 
GitLab