[FFmpeg-cvslog] r17655 - trunk/libavcodec/h264.h

stefang subversion
Sat Feb 28 09:38:33 CET 2009


Author: stefang
Date: Sat Feb 28 09:38:33 2009
New Revision: 17655

Log:
sub_mb_type[] needs to be 8-byte aligned because it is referenced
as a uint64_t in get_dct8x8_allowed().
Patch by David S. Miller <davem at davemloft dot net>

Modified:
   trunk/libavcodec/h264.h

Modified: trunk/libavcodec/h264.h
==============================================================================
--- trunk/libavcodec/h264.h	Sat Feb 28 08:31:36 2009	(r17654)
+++ trunk/libavcodec/h264.h	Sat Feb 28 09:38:33 2009	(r17655)
@@ -350,7 +350,7 @@ typedef struct H264Context{
     int mb_field_decoding_flag;
     int mb_mbaff;              ///< mb_aff_frame && mb_field_decoding_flag
 
-    uint16_t sub_mb_type[4];
+    DECLARE_ALIGNED_8(uint16_t, sub_mb_type[4]);
 
     //POC stuff
     int poc_lsb;




More information about the ffmpeg-cvslog mailing list