aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2008-03-30 10:30:33 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2008-03-30 10:30:33 +0000
commit55727a835bd04de3d42026e093a26de0866f290b (patch)
treebb45a627085f1274f493063842664503082409eb
parent3794b92819474120338e2da508b67b4153eef999 (diff)
downloadffmpeg-55727a835bd04de3d42026e093a26de0866f290b.tar.gz
Altivec and SSE2 require 16-byte alignment, so make sure they get it
patch by Alexander Strange %astrange A ithinksw P com% Originally committed as revision 12629 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/dct-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index a8a3649466..27a9e957c2 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -169,7 +169,7 @@ void idct_mmx_init(void)
}
}
-static DCTELEM block[64] __attribute__ ((aligned (8)));
+static DCTELEM block[64] __attribute__ ((aligned (16)));
static DCTELEM block1[64] __attribute__ ((aligned (8)));
static DCTELEM block_org[64] __attribute__ ((aligned (8)));