diff options
author | David S. Miller <davem@davemloft.net> | 2009-02-28 08:38:33 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2009-02-28 08:38:33 +0000 |
commit | da2911d5e8f562290702812e014ab6db12127cd4 (patch) | |
tree | 2b3f24752c76dfa2d8464674e9b4f3562bc96cc3 /libavcodec/h264.h | |
parent | f8a138be5257f751ef7d3c6b7ab534c0434e90e7 (diff) | |
download | ffmpeg-streaming-da2911d5e8f562290702812e014ab6db12127cd4.zip ffmpeg-streaming-da2911d5e8f562290702812e014ab6db12127cd4.tar.gz |
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
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 3cfa70a..587f1e3 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; |