JPEG utils not setting ConvertedDataCount variable in YCbCr to RGB functions #294
Labels
bug
Something isn't working
internal bug tracker
Issue confirmed and reported into a ticket in the internal bug tracking system
jpeg
JPEG-related issue or pull-request
utils
Utilities-related issue or pull-request
Projects
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:
The text was updated successfully, but these errors were encountered: