Commit d68d7198 authored by Steinar H. Gunderson's avatar Steinar H. Gunderson Committed by James Almer

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: 's avatarJames Almer <jamrial@gmail.com>
parent 6596b349
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment