mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-18 03:54:18 -04:00
qoi: fix reports from quality scanner
struct QoiHeader is initialized to invalid values prior use, it’s good to detect situations when we read incomplete data. Add include in scanlineconverter.cpp so it can be used without change in kf5 branch.
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include "scanlineconverter_p.h"
|
||||
#include <cstring>
|
||||
|
||||
ScanLineConverter::ScanLineConverter(const QImage::Format &targetFormat)
|
||||
: _targetFormat(targetFormat)
|
||||
|
Reference in New Issue
Block a user