[SCM] libav/experimental: vp78: Align the intra4x4_pred_mode_top array within VP8Macroblock

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:02:50 UTC 2014


The following commit has been merged in the experimental branch:
commit a6ac4fcce44108f6f87278b8d12e890576f46a62
Author: Martin Storsjö <martin at martin.st>
Date:   Mon Apr 14 20:43:04 2014 +0300

    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 at martin.st>

diff --git a/libavcodec/vp8.h b/libavcodec/vp8.h
index 9938905..d4a231f 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list