Commit e3a00acd authored by Luca Barbato's avatar Luca Barbato Committed by Vittorio Giovara

hevc: Initialize mergecand_list to 0

Unbreak cf6090dc.

CC: libav-stable@libav.org
Sample-Id: hevc-conformance-LTRPSPS_A_Qualcomm_1
parent a05f5052
...@@ -556,6 +556,8 @@ void ff_hevc_luma_mv_merge_mode(HEVCContext *s, int x0, int y0, int nPbW, ...@@ -556,6 +556,8 @@ void ff_hevc_luma_mv_merge_mode(HEVCContext *s, int x0, int y0, int nPbW,
int nPbH2 = nPbH; int nPbH2 = nPbH;
HEVCLocalContext *lc = &s->HEVClc; HEVCLocalContext *lc = &s->HEVClc;
memset(mergecand_list, 0, MRG_MAX_NUM_CANDS * sizeof(*mergecand_list));
if (s->pps->log2_parallel_merge_level > 2 && nCS == 8) { if (s->pps->log2_parallel_merge_level > 2 && nCS == 8) {
singleMCLFlag = 1; singleMCLFlag = 1;
x0 = lc->cu.x; x0 = lc->cu.x;
......
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