Mercurial > libavcodec.hg
changeset 10856:d1ddb9a28c47 libavcodec
Align mb_bit_buffer and vs_bit_buffer as their alignment is checked by assert().
author | michael |
---|---|
date | Tue, 12 Jan 2010 13:54:35 +0000 |
parents | 423410fc29b1 |
children | b20434143fd5 |
files | dv.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dv.c Tue Jan 12 09:13:32 2010 +0000 +++ b/dv.c Tue Jan 12 13:54:35 2010 +0000 @@ -533,8 +533,8 @@ GetBitContext gb; BlockInfo mb_data[5 * DV_MAX_BPM], *mb, *mb1; DECLARE_ALIGNED_16(DCTELEM, sblock[5*DV_MAX_BPM][64]); - uint8_t mb_bit_buffer[80 + 4]; /* allow some slack */ - uint8_t vs_bit_buffer[5 * 80 + 4]; /* allow some slack */ + DECLARE_ALIGNED_16(uint8_t, mb_bit_buffer[80 + 4]); /* allow some slack */ + DECLARE_ALIGNED_16(uint8_t, vs_bit_buffer[5 * 80 + 4]); /* allow some slack */ const int log2_blocksize = 3-s->avctx->lowres; int is_field_mode[5];