Do not add padding to end of smol file when smol is natually word-sized (#8522)

This commit is contained in:
Raymond Dodge 2025-12-14 04:26:42 -05:00 committed by GitHub
parent 087f2fba74
commit 2cec0dbfa0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -970,7 +970,7 @@ void getUIntVecFromData(CompressedImage *pImage, std::vector<unsigned int> *pOut
}
}
}
if (currOffset != 0)
if (currOffset % 4 != 0)
pOutput->push_back(currInt);
}