From 2cec0dbfa019088ba8cfff80941feff7ac8c8276 Mon Sep 17 00:00:00 2001 From: Raymond Dodge Date: Sun, 14 Dec 2025 04:26:42 -0500 Subject: [PATCH] Do not add padding to end of smol file when smol is natually word-sized (#8522) --- tools/compresSmol/compressAlgo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/compresSmol/compressAlgo.cpp b/tools/compresSmol/compressAlgo.cpp index 261abcf24a..36d4cbfadd 100644 --- a/tools/compresSmol/compressAlgo.cpp +++ b/tools/compresSmol/compressAlgo.cpp @@ -970,7 +970,7 @@ void getUIntVecFromData(CompressedImage *pImage, std::vector *pOut } } } - if (currOffset != 0) + if (currOffset % 4 != 0) pOutput->push_back(currInt); }