ref: b1d85bf60f85a5b2f049d6a13c69f129ab740b7a
parent: 20f43ddfdeceb001284707f4ff68e78c9aaebb47
author: Ronald S. Bultje <[email protected]>
date: Thu Oct 1 04:30:49 EDT 2015
vp8: align left pixel array by 16 bytes. The x86 simd expects this. Identical alignment can be found in vp9 and vp10 also. Fixes crashes on 32bit x86 systems. Change-Id: I229c88d8f696acbef5337c8fa9503528df4e1c40
--- a/vp8/common/reconintra.c
+++ b/vp8/common/reconintra.c
@@ -55,7 +55,7 @@
int y_stride)
{
MB_PREDICTION_MODE mode = x->mode_info_context->mbmi.mode;
- unsigned char yleft_col[16];
+ DECLARE_ALIGNED(16, uint8_t, yleft_col[16]);
int i;
intra_pred_fn fn;