[FFmpeg-cvslog] r24854 - trunk/libavcodec/dv.c

mru subversion
Fri Aug 20 21:49:48 CEST 2010


Author: mru
Date: Fri Aug 20 21:49:47 2010
New Revision: 24854

Log:
dv: fix alignment of scratch buffer

Modified:
   trunk/libavcodec/dv.c

Modified: trunk/libavcodec/dv.c
==============================================================================
--- trunk/libavcodec/dv.c	Fri Aug 20 20:28:42 2010	(r24853)
+++ trunk/libavcodec/dv.c	Fri Aug 20 21:49:47 2010	(r24854)
@@ -948,7 +948,7 @@ static int dv_encode_video_segment(AVCod
     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;



More information about the ffmpeg-cvslog mailing list