diff options
author | Steve L'Homme <slhomme@divxcorp.com> | 2006-02-05 13:35:17 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-02-05 13:35:17 +0000 |
commit | 68b51e58ce73d99d2cd9bfa14cb7daaf4a74047e (patch) | |
tree | 1a1aa0365436dae8d8e2a80887f13d631d141cad /libavcodec/i386/mpegvideo_mmx_template.c | |
parent | 04c669ba98955535c00b5283eebafec773d2e83d (diff) |
MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr
Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mpegvideo_mmx_template.c')
-rw-r--r-- | libavcodec/i386/mpegvideo_mmx_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/i386/mpegvideo_mmx_template.c b/libavcodec/i386/mpegvideo_mmx_template.c index 48dc1bc689..2c50df232d 100644 --- a/libavcodec/i386/mpegvideo_mmx_template.c +++ b/libavcodec/i386/mpegvideo_mmx_template.c @@ -51,7 +51,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s, 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? |