diff tools/lib64gfx.h @ 1647:948d6fda722d

Add sanity check for interlaced formats: check that the interlace type flags are set.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 30 May 2018 01:17:57 +0300
parents 262300a0359b
children 9233da9de92c
line wrap: on
line diff
--- a/tools/lib64gfx.h	Wed May 30 01:07:07 2018 +0300
+++ b/tools/lib64gfx.h	Wed May 30 01:17:57 2018 +0300
@@ -64,6 +64,7 @@
 // Different types of interlace
 enum
 {
+    D64_ILACE_NONE       = 0x0000, // Not set (invalid for interlaced images)
     D64_ILACE_RES        = 0x0001, // Interlace doubles resolution
     D64_ILACE_COLOR      = 0x0002, // Uses color mixing
 };