diff dv.c @ 12393:aaf12cfcfdbf libavcodec

dv: fix alignment of scratch buffer
author mru
date Fri, 20 Aug 2010 19:49:47 +0000
parents c35d7bc64882
children f4caff0e1e10
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;