Mercurial > libavcodec.hg
diff i386/mpegvideo_mmx_template.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 | 0b546eab515d |
children | fb4baeb88d0b |
line wrap: on
line diff
--- a/i386/mpegvideo_mmx_template.c Sun Feb 05 10:16:20 2006 +0000 +++ b/i386/mpegvideo_mmx_template.c Sun Feb 05 13:35:17 2006 +0000 @@ -51,7 +51,7 @@ long last_non_zero_p1; int level=0, q; //=0 is cuz gcc says uninitalized ... const uint16_t *qmat, *bias; - __align8 int16_t temp_block[64]; + DECLARE_ALIGNED_8(int16_t, temp_block[64]); assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly?