summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-02-28 08:38:33 +0000
committerStefan Gehrer <stefan.gehrer@gmx.de>2009-02-28 08:38:33 +0000
commitda2911d5e8f562290702812e014ab6db12127cd4 (patch)
tree2b3f24752c76dfa2d8464674e9b4f3562bc96cc3 /libavcodec
parentf8a138be5257f751ef7d3c6b7ab534c0434e90e7 (diff)
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')
-rw-r--r--libavcodec/h264.h2
1 files changed, 1 insertions, 1 deletions
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;