Mercurial > hg > dmlib
changeset 1498:9217fcc727e8
Move encoding stub function to better place.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 11 May 2018 07:06:36 +0300 |
parents | ee01fdec1a7b |
children | 32640e1934d5 |
files | tools/lib64gfx.c |
diffstat | 1 files changed, 12 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/lib64gfx.c Fri May 11 06:28:55 2018 +0300 +++ b/tools/lib64gfx.c Fri May 11 07:06:36 2018 +0300 @@ -753,15 +753,8 @@ } -static int fmtEncodeStub(DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt) { - (void) buf; - (void) img; - (void) fmt; - return dmError(DMERR_NOT_SUPPORTED, - "Encoding of '%s' format not supported.\n", - fmt->name); } @@ -855,6 +848,18 @@ } +static int fmtEncodeStub(DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt) +{ + (void) buf; + (void) img; + (void) fmt; + + return dmError(DMERR_NOT_SUPPORTED, + "Encoding of '%s' format not supported.\n", + fmt->name); +} + + // // Array with data for supported formats //