Mercurial > hg > dmlib
diff tools/lib64fmts.c @ 1542:69fa95707e65
Implement dmGenericRLEAnalyze() and use it where appropriate.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 12 May 2018 05:31:40 +0300 |
parents | 203e00a4dfc0 |
children | 3b613fcbf3ff |
line wrap: on
line diff
--- a/tools/lib64fmts.c Sat May 12 05:17:00 2018 +0300 +++ b/tools/lib64fmts.c Sat May 12 05:31:40 2018 +0300 @@ -81,7 +81,6 @@ // Analyze the data .. dmGenericRLEAnalyze(&tmp, &cfg.rleMarker, DM_COMP_RLE_MARKER); - cfg.rleMarker = 0xff; // Add the header bits if (!dmGrowBufPut(buf, magicID, strlen(magicID)) || @@ -367,7 +366,6 @@ // Analyze the data .. dmGenericRLEAnalyze(&tmp, &cfg.rleMarker, DM_COMP_RLE_MARKER); - cfg.rleMarker = 0xff; // Add the header bits if (!dmGrowBufPut(buf, fmtFunPaint2MagicID, strlen(fmtFunPaint2MagicID)) ||