Commit 4c31519d authored by Yaowu Xu's avatar Yaowu Xu

Add initialization for a stack array


Change-Id: If94c6404836fefcf3352f1a4f380066965ca68ce
parent fb04a9ab
......@@ -1797,7 +1797,7 @@ void av1_dist_block(const AV1_COMP *cpi, MACROBLOCK *x, int plane,
blk_row, blk_col, plane_bsize, tx_bsize);
} else {
uint8_t *recon;
DECLARE_ALIGNED(16, uint16_t, recon16[MAX_TX_SQUARE]);
DECLARE_ALIGNED(16, uint16_t, recon16[MAX_TX_SQUARE]) = { 0 };
if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH)
recon = CONVERT_TO_BYTEPTR(recon16);
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