Opened 4 years ago

Closed 4 years ago

#730 closed defect (fixed)

Violation issue in access to the array chromaCandModes

Reported by: WentingCai Owned by:
Priority: minor Milestone:
Component: VTM Version: VTM-7.0
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

In function "estIntraPredChromaQT()"
"

.......
int chromaIntraMode = chromaCandModes[uiMode];
if (uiMode < 0)
{

cu.bdpcmModeChroma = -uiMode;
chromaIntraMode = chromaCandModes[0];

}
else
......

"
Suggest to change "int chromaIntraMode = chromaCandModes[uiMode];" to "int chromaIntraMode = chromaCandModes[uiMode?uiMode:0];"

Change history (2)

comment:1 Changed 4 years ago by WentingCai

Suggest to change "int chromaIntraMode = chromaCandModes[uiMode];" to "int chromaIntraMode = chromaCandModes[uiMode>0?uiMode:0];"

comment:2 Changed 4 years ago by fbossen

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.