From 375fb9f17a8ce6e93387e5b8fded7e0eba32da80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Fri, 20 Aug 2010 19:49:47 +0000 Subject: [PATCH] dv: fix alignment of scratch buffer Originally committed as revision 24854 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 9f5356232..63b1f028d 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; -- 2.11.0