changeset 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 87f496299f09
children d56b711c6c5d
files h264.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;