aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-07-17 18:43:11 +0300
committerMartin Storsjö <martin@martin.st>2011-07-18 00:10:45 +0300
commit8f62ef0f95cd0bc915086a9d3d66b27fceb6916f (patch)
tree16ea7c37a95517db2a19add63e5762ac856b144c /libavcodec/x86
parent172ee1da2b2b7c84733822092eb29fcaec102055 (diff)
downloadffmpeg-8f62ef0f95cd0bc915086a9d3d66b27fceb6916f.tar.gz
x86: Use LOCAL_ALIGNED in mpegvideo_mmx_template
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/mpegvideo_mmx_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/mpegvideo_mmx_template.c b/libavcodec/x86/mpegvideo_mmx_template.c
index 0f01cb24b9..0b6cff3540 100644
--- a/libavcodec/x86/mpegvideo_mmx_template.c
+++ b/libavcodec/x86/mpegvideo_mmx_template.c
@@ -98,7 +98,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
x86_reg last_non_zero_p1;
int level=0, q; //=0 is because gcc says uninitialized ...
const uint16_t *qmat, *bias;
- DECLARE_ALIGNED(16, int16_t, temp_block)[64];
+ LOCAL_ALIGNED_16(int16_t, temp_block, [64]);
assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly?