summaryrefslogtreecommitdiff
path: root/libavcodec/dv.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/dv.c
parent6363827e13a430ad6c27bf18780e13b998effe43 (diff)
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/dv.c')
-rw-r--r--libavcodec/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 3a8a843464..3983381640 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -376,7 +376,7 @@ static inline void dv_decode_video_segment(DVVideoContext *s,
PutBitContext pb, vs_pb;
GetBitContext gb;
BlockInfo mb_data[5 * 6], *mb, *mb1;
- DECLARE_ALIGNED_8(DCTELEM, sblock[5*6][64]);
+ DECLARE_ALIGNED_16(DCTELEM, sblock[5*6][64]);
DECLARE_ALIGNED_8(uint8_t, mb_bit_buffer[80 + 4]); /* allow some slack */
DECLARE_ALIGNED_8(uint8_t, vs_bit_buffer[5 * 80 + 4]); /* allow some slack */
const int log2_blocksize= 3-s->avctx->lowres;