Mercurial > libavcodec.hg
diff asv1.c @ 3089:072dbc669253 libavcodec
MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr
author | diego |
---|---|
date | Sun, 05 Feb 2006 13:35:17 +0000 |
parents | 04b924f8f5a5 |
children | 8e00b10aeb0a |
line wrap: on
line diff
--- a/asv1.c Sun Feb 05 10:16:20 2006 +0000 +++ b/asv1.c Sun Feb 05 13:35:17 2006 +0000 @@ -44,9 +44,9 @@ int mb_height; int mb_width2; int mb_height2; - DCTELEM __align8 block[6][64]; - uint16_t __align8 intra_matrix[64]; - int __align8 q_intra_matrix[64]; + DECLARE_ALIGNED_8(DCTELEM, block[6][64]); + DECLARE_ALIGNED_8(uint16_t, intra_matrix[64]); + DECLARE_ALIGNED_8(int, q_intra_matrix[64]); uint8_t *bitstream_buffer; unsigned int bitstream_buffer_size; } ASV1Context;