﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
744	Overflow in joint Cb/Cr transform	bheng		"In TrQuant.cpp, invTransformCbCr( ), the value cb[x] = -32768 will overflow the 16-bit data type if the 
    Cr = -Cb 
transformation is applied. 

Specifically, the line below:

    else if ( signedMode == -2 )  { cr[x] = -cb[x]; }

One way to fix it might be to add an extra condition (like below):

    else if ( signedMode == -2 )  { cr[x] = (cb[x] == -32768) ? 32767 : -cb[x]; }
"	defect	closed	minor	VTM-7.2	VTM	VTM-7.0	fixed		ksuehring XiangLi fbossen jvet@…
