Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-16 03:13:07 +0300
committerJames Almer <jamrial@gmail.com>2017-11-16 03:28:36 +0300
commitf399172d6e842fbdd05c599cdbbb1668c8c354be (patch)
tree25f23fa624152b538821388384a58f9009042f35 /libavcodec/proresdec2.c
parent6727cfea5e416c32591563a6e91936629ae16185 (diff)
avcodec/proresdec: align dequantization matrix buffers
Should fix ticket #6838 Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/proresdec2.c')
-rw-r--r--libavcodec/proresdec2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
index e9e0153ee9..d97e264e44 100644
--- a/libavcodec/proresdec2.c
+++ b/libavcodec/proresdec2.c
@@ -517,8 +517,8 @@ static int decode_slice_thread(AVCodecContext *avctx, void *arg, int jobnr, int
int luma_stride, chroma_stride;
int y_data_size, u_data_size, v_data_size, a_data_size;
uint8_t *dest_y, *dest_u, *dest_v, *dest_a;
- int16_t qmat_luma_scaled[64];
- int16_t qmat_chroma_scaled[64];
+ LOCAL_ALIGNED_16(int16_t, qmat_luma_scaled, [64]);
+ LOCAL_ALIGNED_16(int16_t, qmat_chroma_scaled,[64]);
int mb_x_shift;
int ret;