Revision df3a80b5

View differences:

libavcodec/avcodec.h
2834 2834
 * Frees all static arrays and resets their pointers to 0.
2835 2835
 * Call this function to release all statically allocated tables.
2836 2836
 *
2837
 * @deprecated. Code which uses av_free_static is broken/missdesigned
2837
 * @deprecated. Code which uses av_free_static is broken/misdesigned
2838 2838
 * and should correctly use static arrays
2839 2839
 *
2840 2840
 */
......
2847 2847
 *
2848 2848
 * @param[in] size The amount of memory you need in bytes.
2849 2849
 * @return block of memory of the requested size
2850
 * @deprecated. Code which uses av_mallocz_static is broken/missdesigned
2850
 * @deprecated. Code which uses av_mallocz_static is broken/misdesigned
2851 2851
 * and should correctly use static arrays
2852 2852
 */
2853 2853
attribute_deprecated void *av_mallocz_static(unsigned int size);
libavcodec/bitstream.c
36 36
 * @param[in] ptr The block of memory to reallocate.
37 37
 * @param[in] size The requested size.
38 38
 * @return Block of memory of requested size.
39
 * @deprecated. Code which uses ff_realloc_static is broken/missdesigned
39
 * @deprecated. Code which uses ff_realloc_static is broken/misdesigned.
40 40
 * and should correctly use static arrays
41 41
 */
42 42
attribute_deprecated void *ff_realloc_static(void *ptr, unsigned int size);
libavcodec/bitstream.h
176 176
#define UNALIGNED_STORES_ARE_BAD
177 177
#endif
178 178

  
179
/* used to avoid missaligned exceptions on some archs (alpha, ...) */
179
/* used to avoid misaligned exceptions on some archs (alpha, ...) */
180 180
#if defined(ARCH_X86)
181 181
#    define unaligned16(a) (*(const uint16_t*)(a))
182 182
#    define unaligned32(a) (*(const uint32_t*)(a))
libavcodec/cabac.h
457 457
        "2:                                     \n\t"
458 458
        "movl %%edx, "RANGE    "(%2)            \n\t"
459 459
        "movl %%ebx, "LOW      "(%2)            \n\t"
460
        :"=&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
460
        :"=&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
461 461
        :"r"(state), "r"(c)
462 462
        : "%"REG_c, "%ebx", "%edx", "%"REG_S, "memory"
463 463
    );
libavcodec/cook.c
283 283
 * Why? No idea, some checksum/error detection method maybe.
284 284
 *
285 285
 * Out buffer size: extra bytes are needed to cope with
286
 * padding/missalignment.
286
 * padding/misalignment.
287 287
 * Subpackets passed to the decoder can contain two, consecutive
288 288
 * half-subpackets, of identical but arbitrary size.
289 289
 *          1234 1234 1234 1234  extraA extraB
libavcodec/libgsm.c
30 30
#include "avcodec.h"
31 31
#include <gsm.h>
32 32

  
33
// gsm.h miss some essential constants
33
// gsm.h misses some essential constants
34 34
#define GSM_BLOCK_SIZE 33
35 35
#define GSM_MS_BLOCK_SIZE 65
36 36
#define GSM_FRAME_SIZE 160
libavcodec/ppc/snow_altivec.c
522 522
    vector signed int *v = (vector signed int *)vbuf, *d;
523 523

  
524 524
    for(y=0; y<b_h; y++){
525
        //FIXME ugly missue of obmc_stride
525
        //FIXME ugly misue of obmc_stride
526 526

  
527 527
        uint8_t *obmc1= obmc + y*obmc_stride;
528 528
        uint8_t *obmc2= obmc1+ (obmc_stride>>1);
......
588 588
    vector signed int *v = (vector signed int *)vbuf, *d;
589 589

  
590 590
    for(y=0; y<b_h; y++){
591
        //FIXME ugly missue of obmc_stride
591
        //FIXME ugly misue of obmc_stride
592 592

  
593 593
        uint8_t *obmc1= obmc + y*obmc_stride;
594 594
        uint8_t *obmc2= obmc1+ (obmc_stride>>1);
......
671 671
    vector signed int *v = (vector signed int *)vbuf, *d;
672 672

  
673 673
    for(y=0; y<b_h; y++){
674
        //FIXME ugly missue of obmc_stride
674
        //FIXME ugly misue of obmc_stride
675 675

  
676 676
        uint8_t *obmc1= obmc + y*obmc_stride;
677 677
        uint8_t *obmc2= obmc1+ (obmc_stride>>1);
......
717 717
    vector signed int *v = (vector signed int *)vbuf, *d;
718 718

  
719 719
    for(y=0; y<b_h; y++){
720
        //FIXME ugly missue of obmc_stride
720
        //FIXME ugly misue of obmc_stride
721 721

  
722 722
        uint8_t *obmc1= obmc + y*obmc_stride;
723 723
        uint8_t *obmc2= obmc1+ (obmc_stride>>1);
libavcodec/ratecontrol.c
243 243
                bits= rce.i_tex_bits + rce.p_tex_bits;
244 244

  
245 245
                q= get_qscale(s, &rce, rcc->pass1_wanted_bits/rcc->pass1_rc_eq_output_sum, i);
246
                rcc->pass1_wanted_bits+= s->bit_rate/(1/av_q2d(s->avctx->time_base)); //FIXME missbehaves a little for variable fps
246
                rcc->pass1_wanted_bits+= s->bit_rate/(1/av_q2d(s->avctx->time_base)); //FIXME misbehaves a little for variable fps
247 247
            }
248 248
        }
249 249

  
libavcodec/snow.c
2520 2520
    int y, x;
2521 2521
    DWTELEM * dst;
2522 2522
    for(y=0; y<b_h; y++){
2523
        //FIXME ugly missue of obmc_stride
2523
        //FIXME ugly misue of obmc_stride
2524 2524
        const uint8_t *obmc1= obmc + y*obmc_stride;
2525 2525
        const uint8_t *obmc2= obmc1+ (obmc_stride>>1);
2526 2526
        const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1);
......
2680 2680
        STOP_TIMER("inner_add_yblock")
2681 2681
    }else
2682 2682
    for(y=0; y<b_h; y++){
2683
        //FIXME ugly missue of obmc_stride
2683
        //FIXME ugly misue of obmc_stride
2684 2684
        const uint8_t *obmc1= obmc + y*obmc_stride;
2685 2685
        const uint8_t *obmc2= obmc1+ (obmc_stride>>1);
2686 2686
        const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1);
libavformat/swf.c
283 283
    }
284 284

  
285 285
    if (!video_enc) {
286
        /* currenty, cannot work correctly if audio only */
286
        /* currently, cannot work correctly if audio only */
287 287
        swf->video_type = 0;
288 288
        width = 320;
289 289
        height = 200;

Also available in: Unified diff