# HG changeset patch # User mru # Date 1282333787 0 # Node ID aaf12cfcfdbf8b429d4ad788b6effd37e763509c # Parent ea3d12d95325d6b00b15265bbf45999d386ec1f7 dv: fix alignment of scratch buffer diff -r ea3d12d95325 -r aaf12cfcfdbf dv.c --- 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;