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
pull/126/head
David S. Miller 16 years ago committed by Stefan Gehrer
parent f8a138be52
commit da2911d5e8
  1. 2
      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;

Loading…
Cancel
Save