summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-01-12 13:54:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-01-12 13:54:35 +0000
commit9514a0841a0bb5af8a430d12dbcabef26f5ad46a (patch)
tree7a1d82c980fbe17f594d9e4bbf60e4d69307530f /libavcodec
parent51a269cd97a11be8016d0b44f1276993ec021d4d (diff)
downloadffmpeg-9514a0841a0bb5af8a430d12dbcabef26f5ad46a.tar.gz
Align mb_bit_buffer and vs_bit_buffer as their alignment is checked by assert().
Originally committed as revision 21164 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 1219bf1070..10b2c0e952 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -533,8 +533,8 @@ static int dv_decode_video_segment(AVCodecContext *avctx, void *arg)
GetBitContext gb;
BlockInfo mb_data[5 * DV_MAX_BPM], *mb, *mb1;
DECLARE_ALIGNED_16(DCTELEM, sblock[5*DV_MAX_BPM][64]);
- uint8_t mb_bit_buffer[80 + 4]; /* allow some slack */
- uint8_t vs_bit_buffer[5 * 80 + 4]; /* allow some slack */
+ DECLARE_ALIGNED_16(uint8_t, mb_bit_buffer[80 + 4]); /* allow some slack */
+ DECLARE_ALIGNED_16(uint8_t, vs_bit_buffer[5 * 80 + 4]); /* allow some slack */
const int log2_blocksize = 3-s->avctx->lowres;
int is_field_mode[5];