diff tools/lib64gfx.h @ 2329:0085ce04788b

Add return value (error code) to dmGenericRLEAnalyze() and pass it through where used.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 16 Sep 2019 10:24:49 +0300
parents c8c58147e6e5
children 46b929f822f8
line wrap: on
line diff
--- a/tools/lib64gfx.h	Mon Sep 16 10:14:57 2019 +0300
+++ b/tools/lib64gfx.h	Mon Sep 16 10:24:49 2019 +0300
@@ -432,7 +432,7 @@
 int       dmC64ConvertGenericBMP2Image(DMImage *dst, const DMC64Image *src, const DMC64ImageConvSpec *spec);
 int       dmC64ConvertGenericImage2BMP(DMC64Image *dst, const DMImage *src, const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec);
 
-void      dmGenericRLEAnalyze(const DMGrowBuf *buf, DMCompParams *cfg);
+int       dmGenericRLEAnalyze(const DMGrowBuf *buf, DMCompParams *cfg);
 
 void      dmSetupRLEBuffers(DMGrowBuf *dst, DMGrowBuf *src, const DMCompParams *cfg);
 void      dmFinishRLEBuffers(DMGrowBuf *dst, DMGrowBuf *src, const DMCompParams *cfg);