# HG changeset patch # User Matti Hamalainen # Date 1589504697 -10800 # Node ID 5a7e2aa8fef564e2d593f9ec8c1c193721721001 # Parent 22d2cfeed83166702db950ba778a128faa66ae77 Rename DMSupeResCtx to DMSupeResDecCtx. diff -r 22d2cfeed831 -r 5a7e2aa8fef5 tools/lib64fmts.c --- a/tools/lib64fmts.c Fri May 15 03:32:03 2020 +0300 +++ b/tools/lib64fmts.c Fri May 15 04:04:57 2020 +0300 @@ -91,10 +91,10 @@ Uint8 dbyte, repcount; size_t offs, end_offs; -} DMSupeResCtx; - - -static int fmtSupeResGetByte(DMSupeResCtx *ctx, Uint8 *data, const int mode) +} DMSupeResDecCtx; + + +static int fmtSupeResGetByte(DMSupeResDecCtx *ctx, Uint8 *data, const int mode) { if (!dmGrowBufGetU8(&ctx->src, data)) { @@ -107,7 +107,7 @@ } -static int fmtDecodeSupeRes24_25(DMSupeResCtx *ctx, Uint8 tmp) +static int fmtDecodeSupeRes24_25(DMSupeResDecCtx *ctx, Uint8 tmp) { if (tmp == 0x24) { @@ -131,7 +131,7 @@ } -static int fmtDecodeSupeResByte(DMSupeResCtx *ctx) +static int fmtDecodeSupeResByte(DMSupeResDecCtx *ctx) { Uint8 tmp; int res; @@ -186,7 +186,7 @@ } -static int fmtDecodeSupeResSection(DMSupeResCtx *ctx, const size_t offs, const size_t size) +static int fmtDecodeSupeResSection(DMSupeResDecCtx *ctx, const size_t offs, const size_t size) { int res = DMERR_OK; @@ -210,7 +210,7 @@ static int fmtDecodeSupeRes(DMC64Image *img, const DMGrowBuf *psrc, const DMC64ImageFormat *fmt) { - DMSupeResCtx ctx; + DMSupeResDecCtx ctx; DMGrowBuf tmp; int res;