mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-06-10 18:09:15 -04:00
Improve buffer memory management
This commit is contained in:
committed by
Mirco Miranda
parent
86b0fe60c5
commit
ec640db10e
@@ -353,7 +353,7 @@ bool SGIImagePrivate::readImage(QImage &img)
|
||||
return false;
|
||||
}
|
||||
|
||||
_data = _dev->readAll();
|
||||
_data = deviceRead(_dev, kMaxQVectorSize);
|
||||
|
||||
// sanity check
|
||||
if (_rle) {
|
||||
|
||||
Reference in New Issue
Block a user