Mercurial > libavcodec.hg
changeset 12393:aaf12cfcfdbf libavcodec
dv: fix alignment of scratch buffer
author | mru |
---|---|
date | Fri, 20 Aug 2010 19:49:47 +0000 |
parents | ea3d12d95325 |
children | d46c4c3204b8 |
files | dv.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dv.c Fri Aug 20 18:28:42 2010 +0000 +++ b/dv.c Fri Aug 20 19:49:47 2010 +0000 @@ -948,7 +948,7 @@ 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;