Revision 68b51e58 libavcodec/dv.c

View differences:

libavcodec/dv.c
379 379
    PutBitContext pb, vs_pb;
380 380
    GetBitContext gb;
381 381
    BlockInfo mb_data[5 * 6], *mb, *mb1;
382
    DCTELEM sblock[5*6][64] __align8;
383
    uint8_t mb_bit_buffer[80 + 4] __align8; /* allow some slack */
384
    uint8_t vs_bit_buffer[5 * 80 + 4] __align8; /* allow some slack */
382
    DECLARE_ALIGNED_8(DCTELEM, sblock[5*6][64]);
383
    DECLARE_ALIGNED_8(uint8_t, mb_bit_buffer[80 + 4]); /* allow some slack */
384
    DECLARE_ALIGNED_8(uint8_t, vs_bit_buffer[5 * 80 + 4]); /* allow some slack */
385 385
    const int log2_blocksize= 3-s->avctx->lowres;
386 386

  
387 387
    assert((((int)mb_bit_buffer)&7)==0);
......
779 779
    uint8_t*  data;
780 780
    uint8_t*  ptr;
781 781
    int       do_edge_wrap;
782
    DCTELEM   block[64] __align8;
782
    DECLARE_ALIGNED_8(DCTELEM, block[64]);
783 783
    EncBlockInfo  enc_blks[5*6];
784 784
    PutBitContext pbs[5*6];
785 785
    PutBitContext* pb;

Also available in: Unified diff