# HG changeset patch # User mru # Date 1251288760 0 # Node ID beb616cf18851e98378ce95f91209e24c098aaa0 # Parent e85fbfe709d8c66aef00b3171244b911dc977e6b Remove some unnecessary alignment specifiers None of these arrays are used in ways requiring extra alignment. diff -r e85fbfe709d8 -r beb616cf1885 asv1.c --- a/asv1.c Wed Aug 26 11:31:37 2009 +0000 +++ b/asv1.c Wed Aug 26 12:12:40 2009 +0000 @@ -49,8 +49,8 @@ int mb_width2; int mb_height2; DECLARE_ALIGNED_16(DCTELEM, block[6][64]); - DECLARE_ALIGNED_8(uint16_t, intra_matrix[64]); - DECLARE_ALIGNED_8(int, q_intra_matrix[64]); + uint16_t intra_matrix[64]; + int q_intra_matrix[64]; uint8_t *bitstream_buffer; unsigned int bitstream_buffer_size; } ASV1Context; diff -r e85fbfe709d8 -r beb616cf1885 dnxhddec.c --- a/dnxhddec.c Wed Aug 26 11:31:37 2009 +0000 +++ b/dnxhddec.c Wed Aug 26 12:12:40 2009 +0000 @@ -40,7 +40,7 @@ int last_dc[3]; DSPContext dsp; DECLARE_ALIGNED_16(DCTELEM, blocks[8][64]); - DECLARE_ALIGNED_8(ScanTable, scantable); + ScanTable scantable; const CIDEntry *cid_table; } DNXHDContext; diff -r e85fbfe709d8 -r beb616cf1885 dv.c --- a/dv.c Wed Aug 26 11:31:37 2009 +0000 +++ b/dv.c Wed Aug 26 12:12:40 2009 +0000 @@ -527,8 +527,8 @@ GetBitContext gb; BlockInfo mb_data[5 * DV_MAX_BPM], *mb, *mb1; DECLARE_ALIGNED_16(DCTELEM, sblock[5*DV_MAX_BPM][64]); - DECLARE_ALIGNED_8(uint8_t, mb_bit_buffer[80 + 4]); /* allow some slack */ - DECLARE_ALIGNED_8(uint8_t, vs_bit_buffer[5 * 80 + 4]); /* allow some slack */ + uint8_t mb_bit_buffer[80 + 4]; /* allow some slack */ + uint8_t vs_bit_buffer[5 * 80 + 4]; /* allow some slack */ const int log2_blocksize = 3-s->avctx->lowres; int is_field_mode[5]; diff -r e85fbfe709d8 -r beb616cf1885 mpegaudio.h --- a/mpegaudio.h Wed Aug 26 11:31:37 2009 +0000 +++ b/mpegaudio.h Wed Aug 26 12:12:40 2009 +0000 @@ -108,7 +108,7 @@ typedef struct MPADecodeContext { MPA_DECODE_HEADER - DECLARE_ALIGNED_8(uint8_t, last_buf[2*BACKSTEP_SIZE + EXTRABYTES]); + uint8_t last_buf[2*BACKSTEP_SIZE + EXTRABYTES]; int last_buf_size; /* next header (used in free format parsing) */ uint32_t free_format_next_header;