Opened 12 days ago

Last modified 12 days ago

#730 new defect

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 (1)

comment:1 Changed 12 days ago by WentingCai

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

Note: See TracTickets for help on using tickets.