aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mdec.c
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2008-04-08 01:09:33 +0000
committerRobert Swain <robert.swain@gmail.com>2008-04-08 01:09:33 +0000
commit8e5f465f4c5e5750058da3b65a61e77db08b4d1c (patch)
treed67f7d23e837f5dab51e953307d6e321fdee166c /libavcodec/mdec.c
parent6363827e13a430ad6c27bf18780e13b998effe43 (diff)
downloadffmpeg-8e5f465f4c5e5750058da3b65a61e77db08b4d1c.tar.gz
Increase alignment for DCT block arrays from 8 to 16
Patch by Alexander Strange ( astrange ithinksw com ) Originally committed as revision 12767 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mdec.c')
-rw-r--r--libavcodec/mdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c
index 5c1382e3c0..356e0316b3 100644
--- a/libavcodec/mdec.c
+++ b/libavcodec/mdec.c
@@ -47,7 +47,7 @@ typedef struct MDECContext{
int mb_width;
int mb_height;
int mb_x, mb_y;
- DECLARE_ALIGNED_8(DCTELEM, block[6][64]);
+ DECLARE_ALIGNED_16(DCTELEM, block[6][64]);
DECLARE_ALIGNED_8(uint16_t, intra_matrix[64]);
DECLARE_ALIGNED_8(int, q_intra_matrix[64]);
uint8_t *bitstream_buffer;