From 92a69cf868904c738d12f0f5313313f3afe46d38 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sun, 25 Apr 2004 04:06:09 +0000 Subject: move __align16 some place where non-MMX machines can see it Originally committed as revision 3066 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libavcodec/dsputil.h') diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 9ad407db8e..b5468724f1 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -381,6 +381,8 @@ static inline uint32_t no_rnd_avg32(uint32_t a, uint32_t b) one or more MultiMedia extension */ int mm_support(void); +#define __align16 __attribute__ ((aligned (16))) + #if defined(HAVE_MMX) #undef emms_c @@ -409,7 +411,6 @@ static inline void emms(void) } #define __align8 __attribute__ ((aligned (8))) -#define __align16 __attribute__ ((aligned (16))) void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx); void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx); @@ -417,7 +418,7 @@ void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx); #elif defined(ARCH_ARMV4L) /* This is to use 4 bytes read to the IDCT pointers for some 'zero' - line ptimizations */ + line optimizations */ #define __align8 __attribute__ ((aligned (4))) void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx); -- cgit v1.2.3