diff options
author | Martin Storsjö <martin@martin.st> | 2014-04-14 20:43:04 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-04-14 21:27:20 +0300 |
commit | a6ac4fcce44108f6f87278b8d12e890576f46a62 (patch) | |
tree | 7382ea2308fdc9664d81629f5d86bfe899e66351 /libavcodec | |
parent | b3d905b702dcdda9e3ae2bcb7b5580ca77a96ab7 (diff) | |
download | ffmpeg-a6ac4fcce44108f6f87278b8d12e890576f46a62.tar.gz |
vp78: Align the intra4x4_pred_mode_top array within VP8Macroblock
This array is written using AV_WN32A, assuming alignment.
This hopefully fixes the failing vp7 fate test on sparc.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vp8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp8.h b/libavcodec/vp8.h index 99389051eb..d4a231f8ca 100644 --- a/libavcodec/vp8.h +++ b/libavcodec/vp8.h @@ -91,7 +91,7 @@ typedef struct VP8Macroblock { uint8_t chroma_pred_mode; uint8_t segment; uint8_t intra4x4_pred_mode_mb[16]; - uint8_t intra4x4_pred_mode_top[4]; + DECLARE_ALIGNED(4, uint8_t, intra4x4_pred_mode_top)[4]; VP56mv mv; VP56mv bmv[16]; } VP8Macroblock; |