﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
521	Platform-inconsistent results for palette, RA, qp=2	gordon		"
With qp=2 RA encodes, the calculated qp for intra frames arrives as -1.

In IntraSearch::preCalcPLTIndex and IntraSearch::derivePLTLossy this value is used as an index into a table, which is out of bounds, causing different results on different platforms.

The attached patch resolves the problem, but might be considered a 'band aid' -- there is still the issue of a negative qp value arriving in the code, causing, possibly, other potential issues either now or later.

Should a merge request be made for this patch, or should we wait for a higher level fix?

"	defect	new	minor		VTM	VTM-6.1			vzakharc yuwenhe jvet@…
