Commit df3a80b5 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

cosmetics: misc typo fixes

Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bd35bdf1
......@@ -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);
......
......@@ -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);
......
......@@ -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))
......
......@@ -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"
);
......
......@@ -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
......
......@@ -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
......
......@@ -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);
......
......@@ -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
}
}
......
......@@ -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);
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment