Commit 7b71b349 authored by Yaowu Xu's avatar Yaowu Xu

Add initialization to fix valgrind warnings

BUG=aomedia:1274

Change-Id: Ib1d814db4ef1bcb075444e4da855fd840e945a7d
parent 6a705984
......@@ -485,7 +485,8 @@ void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride,
const int subpel_x_qn, const int x_step_qn,
const int subpel_y_qn, const int y_step_qn,
ConvolveParams *conv_params) {
int32_t tmp[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE];
// TODO(yaowu): remove unnecessary initializations
int32_t tmp[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE] = { 0 };
int im_h = (((h - 1) * y_step_qn + subpel_y_qn) >> SCALE_SUBPEL_BITS) +
filter_params_y->taps;
......
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