openh264 icon indicating copy to clipboard operation
openh264 copied to clipboard

Arguments do not match when the function is called

Open QiAnXinCodeSafe opened this issue 1 year ago • 0 comments

Hi all, This is Qianxin CodeSafe Team, we found a suspicious issue, at

https://github.com/cisco/openh264/blob/3668daf135dea7d18737b01ce32774a7a2ffba32/codec/common/inc/golomb_common.h#L117

The 2nd argument to the function "BsWriteBits()" is of type "int", while the passed expression "g_kuiGolombUELength[kuiValue]" is of type "const unsigned int".

QiAnXinCodeSafe avatar Sep 19 '24 09:09 QiAnXinCodeSafe