From da2911d5e8f562290702812e014ab6db12127cd4 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Sat, 28 Feb 2009 08:38:33 +0000 Subject: 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 Originally committed as revision 17655 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec') diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 3cfa70ab52..587f1e3f1c 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -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; -- cgit v1.2.3