Mercurial > hg > dmlib
diff 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 |
line wrap: on
line diff
--- a/tools/lib64fmts.c Mon Sep 16 10:38:33 2019 +0300 +++ b/tools/lib64fmts.c Mon Sep 16 10:54:54 2019 +0300 @@ -1708,7 +1708,8 @@ cfg.rleMinCountB = 4; cfg.rleMaxCountB = 255; - dmGenericRLEAnalyze(&tmp, &cfg); + if ((res = dmGenericRLEAnalyze(&tmp, &cfg)) != DMERR_OK) + goto out; // Add the header bits if (!dmGrowBufPutU8(buf, cfg.rleMarkerB))