﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
870	Include assertion in TComOutputBitstream::write()	adarsh		"There is no check in TComOutputBitstream::write(UInt uiBits, UInt uiNumberOfBits) function to see if the size of the variable to be written, uiBits, does not exceed uiNumberOfBits bits. I suggest an assertion be included so that even if someone accidentally assigns a larger value to uiBits, this assertion would catch it. 

If the size of uiBits is more than uiNumberOfBits bits, (the way the write() function is currently written) there may be no errors thrown by the code, and  some of the preceding syntax elements may have wrong values when decoding the bitstream. The attached patch adds the assertion to the write() function."	enhancement	closed	minor	HM-9.2	HM	HM-9.0	fixed		fbossen ksuehring davidf jct-vc@…
