aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorJohn Dalgliesh <johnd@defyne.org>2007-03-15 23:45:20 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-03-15 23:45:20 +0000
commit5885dda4c553eb00652af9f91ccd2d58072d6050 (patch)
tree4c40183925ceeb8399fb0835dcfe5cfd119cfd0b /libavcodec/dv.c
parent5039185acc91b571cc6ca5cf5f258b942a7b887d (diff)
downloadffmpeg-5885dda4c553eb00652af9f91ccd2d58072d6050.tar.gz
force 16-bytes alignement of block array, as needed by the implementation of ff_dct_sse2
patch by John Dalgliesh %johnd A defyne P org% Originally committed as revision 8420 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 2bcd50755d..19615b4319 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -838,7 +838,7 @@ static inline void dv_encode_video_segment(DVVideoContext *s,
uint8_t* data;
uint8_t* ptr;
int do_edge_wrap;
- DECLARE_ALIGNED_8(DCTELEM, block[64]);
+ DECLARE_ALIGNED_16(DCTELEM, block[64]);
EncBlockInfo enc_blks[5*6];
PutBitContext pbs[5*6];
PutBitContext* pb;
@@ -846,7 +846,7 @@ static inline void dv_encode_video_segment(DVVideoContext *s,
int vs_bit_size = 0;
int qnos[5];
- assert((((int)block) & 7) == 0);
+ assert((((int)block) & 15) == 0);
enc_blk = &enc_blks[0];
pb = &pbs[0];