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:
6596b34
)
speedhq: Align blocks variable properly.
author
Steinar H. Gunderson
<steinar+ffmpeg@gunderson.no>
Fri, 13 Jan 2017 18:04:25 +0000
(19:04 +0100)
committer
James Almer
<jamrial@gmail.com>
Fri, 13 Jan 2017 19:47:53 +0000
(16:47 -0300)
Seemingly ff_clear_block_sse assumed that the block array is aligned,
so make sure it is.
Fixes ticket #6079
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/speedhq.c
patch
|
blob
|
history
diff --git
a/libavcodec/speedhq.c
b/libavcodec/speedhq.c
index
9c21c0b
..
7ccb2c3
100644
(file)
--- a/
libavcodec/speedhq.c
+++ b/
libavcodec/speedhq.c
@@
-224,7
+224,7
@@
static inline int decode_dct_block(const SHQContext *s, GetBitContext *gb, int l
{
const int *quant_matrix = s->quant_matrix;
const uint8_t *scantable = s->intra_scantable.permutated;
-
int16_t block[64]
;
+
LOCAL_ALIGNED_16(int16_t, block, [64])
;
int dc_offset;
s->bdsp.clear_block(block);