summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/j2k.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-07-30 17:26:03 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-07-30 17:26:03 +0200
commit4748318136626dd9e841ea1aa8b52adfbab26772 (patch)
treed367221115878374631f25bd8f2f299bea66a2ce /src/lib/openjp2/j2k.h
parente23e0c94d0eb30623bc67be19c38c22ee5378344 (diff)
j2k.c: remove hardcoded constants related to m_state, and useless FIXME
Diffstat (limited to 'src/lib/openjp2/j2k.h')
-rw-r--r--src/lib/openjp2/j2k.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/openjp2/j2k.h b/src/lib/openjp2/j2k.h
index cb708b3f..64989a63 100644
--- a/src/lib/openjp2/j2k.h
+++ b/src/lib/openjp2/j2k.h
@@ -122,6 +122,7 @@ typedef enum J2K_STATUS {
J2K_STATE_TPH = 0x0010, /**< the decoding process is in a tile part header */
J2K_STATE_MT = 0x0020, /**< the EOC marker has just been read */
J2K_STATE_NEOC = 0x0040, /**< the decoding process must not expect a EOC marker because the codestream is truncated */
+ J2K_STATE_DATA = 0x0080, /**< a tile header has been successfully read and codestream is expected */
J2K_STATE_EOC = 0x0100, /**< the decoding process has encountered the EOC marker */
J2K_STATE_ERR = 0x8000 /**< the decoding process has encountered an error (FIXME warning V1 = 0x0080)*/