Module: libav
Branch: master
Commit: 8f62ef0f95cd0bc915086a9d3d66b27fceb6916f

Author:    Martin Storsjö <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Sun Jul 17 18:43:11 2011 +0300

x86: Use LOCAL_ALIGNED in mpegvideo_mmx_template

Signed-off-by: Martin Storsjö <[email protected]>

---

 libavcodec/x86/mpegvideo_mmx_template.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/x86/mpegvideo_mmx_template.c 
b/libavcodec/x86/mpegvideo_mmx_template.c
index 0f01cb2..0b6cff3 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?
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to