Broken JPEG loading
Summary
Commit 05c45486 breaks loading JPEG thumbnails from many RAW file formats (from Olympus, Nikon, Canon etc.; Fujifilm somehow works).
System Information
GNU/Linux openSUSE 15.4 x86_64
Steps to reproduce
Load thumbnail from RAW image file. Here is extracted example file: http://grytom.g6.cz/odkladiste/FPC/thumbnail_from_RAW.jpg
What is the current bug behavior?
Application raises simple exception "JPEG error".
What is the expected (correct) behavior?
JPEG loads properly.