changeset 1366:d4387509a363

Return DMERR_NOT_SUPPORTED for decoding color-interlaced images, for now (not sure how to handle those, really.)
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 23 Sep 2017 01:24:21 +0300
parents 60d7240e1a63
children fe1e3a756685
files tools/lib64gfx.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Sat Sep 23 01:20:07 2017 +0300
+++ b/tools/lib64gfx.c	Sat Sep 23 01:24:21 2017 +0300
@@ -1147,6 +1147,9 @@
                             *d++ = dmC64GetMCColor(src, (src->bitmap[0][bmoffs] >> v) & 3, 0, src->laceBank1, scroffs);
                             *d++ = dmC64GetMCColor(src, (src->bitmap[1][bmoffs] >> v) & 3, 0, src->laceBank2, scroffs);
                             break;
+
+                        default:
+                            return DMERR_NOT_SUPPORTED;
                     }
                 }
                 else