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>

Originally committed as revision 17655 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
David S. Miller 2009-02-28 08:38:33 +00:00 committed by Stefan Gehrer
parent f8a138be52
commit da2911d5e8

View File

@ -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;