Mercurial > hg > dmlib
diff tools/lib64fmts.c @ 2301:d71185584d95
Comment the necessity of fmtProbeGigapaintHires()..
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 08 Jul 2019 08:57:31 +0300 |
parents | a494e4a4b6bc |
children | 7c26b5f86ff7 |
line wrap: on
line diff
--- a/tools/lib64fmts.c Thu Jul 04 11:40:17 2019 +0300 +++ b/tools/lib64fmts.c Mon Jul 08 08:57:31 2019 +0300 @@ -11,6 +11,8 @@ #define DM_MEMCMP_SIZE(mptr, mcmp) memcmp((mptr), (mcmp), sizeof(mcmp)) #define DM_MEMCMP_LEN(mptr, mcmp) memcmp((mptr), (mcmp), strlen(mcmp)) + +// Basic probe, but return MAX score for this format static int fmtProbeGigapaintHires(const DMGrowBuf *buf, const DMC64ImageFormat *fmt) { if (buf->len == fmt->size &&