[FFmpeg-cvslog] avcodec/proresdec: align dequantization matrix buffers
James Almer
git at videolan.org
Fri Dec 1 06:31:25 EET 2017
ffmpeg | branch: release/3.4 | James Almer <jamrial at gmail.com> | Wed Nov 15 21:13:07 2017 -0300| [bcfbcbec481c26d4b4a815d390c594c8c13fd647] | committer: James Almer
avcodec/proresdec: align dequantization matrix buffers
Should fix ticket #6838
Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit f399172d6e842fbdd05c599cdbbb1668c8c354be)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bcfbcbec481c26d4b4a815d390c594c8c13fd647
---
libavcodec/proresdec2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
index 0f791de97b..2ebda78a7a 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;
More information about the ffmpeg-cvslog
mailing list