libyami icon indicating copy to clipboard operation
libyami copied to clipboard

Branch condition evaluates to a garbage value

Open QiAnXinCodeSafe opened this issue 6 years ago • 0 comments

https://github.com/intel/libyami/blob/90ac9995763ad569157b3a216da88e090720ed70/encoder/vaapiencoder_base.cpp#L686

'isEmpty' declared without an initial value https://github.com/intel/libyami/blob/90ac9995763ad569157b3a216da88e090720ed70/encoder/vaapiencoder_base.cpp#L681

Calling 'checkEmpty()' in line 685, and the checkEmpty() defined in line 642. Entered call from 'checkEmpty()', returning without writing to '*outEmpty'

https://github.com/intel/libyami/blob/90ac9995763ad569157b3a216da88e090720ed70/encoder/vaapiencoder_base.cpp#L647

QiAnXinCodeSafe avatar Nov 21 '19 06:11 QiAnXinCodeSafe