STM32Cube MCU Full Package for the STM32H7 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
A simple code inspection is sufficient to see that the variable is not being set at any point in these functions.
Solution
Just set the value accordingly. I believe the following lines of code could work for the case of JPEG_ARGB8888, but I'm not entirely sure how to handle the remaining RGB data formats:
System info
Board: Nucleo-STM32H743 IDE: STM32CubeIDE
Bug
In the jpeg_utils.c file, which can be found under
Utilities/JPEG
, theConvertedDataCount
variable is not being set in the following functions:Reproducing the error
Solution
Just set the value accordingly. I believe the following lines of code could work for the case of JPEG_ARGB8888, but I'm not entirely sure how to handle the remaining RGB data formats: