git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3d905b
)
vp78: Align the intra4x4_pred_mode_top array within VP8Macroblock
author
Martin Storsjö
<martin@martin.st>
Mon, 14 Apr 2014 17:43:04 +0000
(20:43 +0300)
committer
Martin Storsjö
<martin@martin.st>
Mon, 14 Apr 2014 18:27:20 +0000
(21:27 +0300)
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>
libavcodec/vp8.h
patch
|
blob
|
history
diff --git
a/libavcodec/vp8.h
b/libavcodec/vp8.h
index
9938905
..
d4a231f
100644
(file)
--- 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;