aboutsummaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-03-20 04:12:56 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-03-20 04:12:56 +0000
commitc48a54d3687b637f979a5e2d3bbd9827cf5d1e84 (patch)
tree6c7bfd33dd40834e248b4283448b19ab249eaa8e /decoder
parentbab21d5cb97ef32de8307b39febd1397e0e3ed05 (diff)
parentfa84ffd2c71b0a4cf2557ada25a38e09cb14f051 (diff)
downloadlibhevc-c48a54d3687b637f979a5e2d3bbd9827cf5d1e84.tar.gz
Merge "common: Fix unintialized reads in intra pred sse functions" into qt-qpr1-dev
Diffstat (limited to 'decoder')
-rw-r--r--decoder/ihevcd_iquant_itrans_recon_ctb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ihevcd_iquant_itrans_recon_ctb.c b/decoder/ihevcd_iquant_itrans_recon_ctb.c
index a7cd167..50f8dce 100644
--- a/decoder/ihevcd_iquant_itrans_recon_ctb.c
+++ b/decoder/ihevcd_iquant_itrans_recon_ctb.c
@@ -946,7 +946,7 @@ WORD32 ihevcd_iquant_itrans_recon_ctb(process_ctxt_t *ps_proc)
/* While (MAX_TU_SIZE * 2 * 2) + 1 is the actaul size needed,
au1_ref_sub_out size is kept as multiple of 8,
so that SIMD functions can load 64 bits */
- UWORD8 au1_ref_sub_out[(MAX_TU_SIZE * 2 * 2) + 8];
+ UWORD8 au1_ref_sub_out[(MAX_TU_SIZE * 2 * 2) + 8] = {0};
UWORD8 *pu1_top_left, *pu1_top, *pu1_left;
WORD32 luma_pred_func_idx, chroma_pred_func_idx;