summaryrefslogtreecommitdiff
path: root/libavcodec/speedhq.c
diff options
context:
space:
mode:
authorSteinar H. Gunderson <steinar+ffmpeg@gunderson.no>2017-01-13 19:04:25 +0100
committerJames Almer <jamrial@gmail.com>2017-01-13 16:47:53 -0300
commitd68d7198becaad02f08eae190ed343a424e3747f (patch)
tree33b644ae6135ab404b9e1d6eebd951d27e910ae5 /libavcodec/speedhq.c
parent6596b34954fc2c101fe620a4b4d305bf27315013 (diff)
speedhq: Align blocks variable properly.
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>
Diffstat (limited to 'libavcodec/speedhq.c')
-rw-r--r--libavcodec/speedhq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/speedhq.c b/libavcodec/speedhq.c
index 9c21c0b1be..7ccb2c33ef 100644
--- 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);