Mercurial > hg > dmlib
comparison tools/lib64fmts.c @ 2331:6dc64deb6718
Missed on dmGenericRLEAnalyze() call from a previous commit.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 16 Sep 2019 10:54:54 +0300 |
parents | 0085ce04788b |
children | 94a653883a32 |
comparison
equal
deleted
inserted
replaced
2330:659c5f3d2e12 | 2331:6dc64deb6718 |
---|---|
1706 cfg.type = DM_COMP_RLE_MARKER; | 1706 cfg.type = DM_COMP_RLE_MARKER; |
1707 cfg.flags = DM_RLE_BYTE_RUNS | DM_RLE_ORDER_1; | 1707 cfg.flags = DM_RLE_BYTE_RUNS | DM_RLE_ORDER_1; |
1708 cfg.rleMinCountB = 4; | 1708 cfg.rleMinCountB = 4; |
1709 cfg.rleMaxCountB = 255; | 1709 cfg.rleMaxCountB = 255; |
1710 | 1710 |
1711 dmGenericRLEAnalyze(&tmp, &cfg); | 1711 if ((res = dmGenericRLEAnalyze(&tmp, &cfg)) != DMERR_OK) |
1712 goto out; | |
1712 | 1713 |
1713 // Add the header bits | 1714 // Add the header bits |
1714 if (!dmGrowBufPutU8(buf, cfg.rleMarkerB)) | 1715 if (!dmGrowBufPutU8(buf, cfg.rleMarkerB)) |
1715 { | 1716 { |
1716 res = DMERR_MALLOC; | 1717 res = DMERR_MALLOC; |