diff h264.h @ 9071:24d0633a5248 libavcodec

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>
author stefang
date Sat, 28 Feb 2009 08:38:33 +0000
parents e65778184ded
children 793cf8c68c4f
line wrap: on
line diff
--- a/h264.h	Sat Feb 28 07:31:36 2009 +0000
+++ b/h264.h	Sat Feb 28 08:38:33 2009 +0000
@@ -350,7 +350,7 @@
     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;