j2k.c: remove hardcoded constants related to m_state, and useless FIXME
[openjpeg.git] / src / lib / openjp2 / j2k.h
index cb708b3f89fae462f2c3c15dbf2aad10e6c917bf..64989a63ebb81cd4020cb5439fd1f181192354d9 100644 (file)
@@ -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)*/