Browse Source

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>
tags/n3.3
Steinar H. Gunderson James Almer 8 years ago
parent
commit
d68d7198be
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/speedhq.c

+ 1
- 1
libavcodec/speedhq.c View File

@@ -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 int *quant_matrix = s->quant_matrix;
const uint8_t *scantable = s->intra_scantable.permutated; const uint8_t *scantable = s->intra_scantable.permutated;
int16_t block[64];
LOCAL_ALIGNED_16(int16_t, block, [64]);
int dc_offset; int dc_offset;


s->bdsp.clear_block(block); s->bdsp.clear_block(block);


Loading…
Cancel
Save