diff options
author | Måns Rullgård <mans@mansr.com> | 2010-08-20 19:49:47 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-08-20 19:49:47 +0000 |
commit | 375fb9f17a8ce6e93387e5b8fded7e0eba32da80 (patch) | |
tree | 6c1933e644274b99c3c2b828dbd926f04d9e11e7 /libavcodec/dv.c | |
parent | 8bdf11815cc53bee2ea3c16934a4a224d35121a0 (diff) | |
download | ffmpeg-375fb9f17a8ce6e93387e5b8fded7e0eba32da80.tar.gz |
dv: fix alignment of scratch buffer
Originally committed as revision 24854 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 9f53562328..63b1f028d9 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -948,7 +948,7 @@ static int dv_encode_video_segment(AVCodecContext *avctx, void *arg) int mb_x, mb_y, c_offset, linesize, y_stride; uint8_t* y_ptr; uint8_t* dif; - uint8_t scratch[64]; + LOCAL_ALIGNED_8(uint8_t, scratch, [64]); EncBlockInfo enc_blks[5*DV_MAX_BPM]; PutBitContext pbs[5*DV_MAX_BPM]; PutBitContext* pb; |