Mercurial > hg > dmlib
changeset 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 | 659c5f3d2e12 |
children | 46b929f822f8 |
files | tools/lib64fmts.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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))