diff options
author | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-05-17 14:14:53 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-05-17 14:14:53 +0000 |
commit | 88bcb6c23f6d873b3cda84275dea0ab9e3b449b6 (patch) | |
tree | 5272e7b1eb00837c3e107aae14bf687b1b5ed8ae /libavcodec/ppc/h264_template_altivec.c | |
parent | 78a010fb002789198ec7f00a524e1f9e375729cf (diff) | |
download | ffmpeg-88bcb6c23f6d873b3cda84275dea0ab9e3b449b6.tar.gz |
use macro Use DECLARE_ALIGNED_16 to align stack-allocated variables
instead of compiler-dependent __attribute__((aligned(16)))
Origiginal thread:
Date: May 17, 2007 12:30 AM
Subject: [PATCH] Use DECLARE_ALIGNED_16 in libavcodec/ppc/
Originally committed as revision 9047 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/h264_template_altivec.c')
-rw-r--r-- | libavcodec/ppc/h264_template_altivec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/h264_template_altivec.c b/libavcodec/ppc/h264_template_altivec.c index e8ad67f2fc..7638687de2 100644 --- a/libavcodec/ppc/h264_template_altivec.c +++ b/libavcodec/ppc/h264_template_altivec.c @@ -21,7 +21,7 @@ /* this code assume that stride % 16 == 0 */ void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, int h, int x, int y) { POWERPC_PERF_DECLARE(PREFIX_h264_chroma_mc8_num, 1); - signed int ABCD[4] __attribute__((aligned(16))) = + DECLARE_ALIGNED_16(signed int, ABCD[4]) = {((8 - x) * (8 - y)), ((x) * (8 - y)), ((8 - x) * (y)), |