diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-11-27 14:00:45 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-11-27 14:00:45 +0000 |
| commit | 9e5d165e79499cffe11a85ebc1b1ff320d52953b (patch) | |
| tree | d8cb1dd7ba37de0b6ade54bff7814a54991a2110 /libopenjpeg/j2k.h | |
| parent | efa5f7977cbaf85cc3034fc34d1094911bc99fbd (diff) | |
Fixed the maximum number of resolutions a user can discard while decoding.
Added an error state in J2K_STATE (j2k.c)
Diffstat (limited to 'libopenjpeg/j2k.h')
| -rw-r--r-- | libopenjpeg/j2k.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libopenjpeg/j2k.h b/libopenjpeg/j2k.h index 2dc21ec0..5599be47 100644 --- a/libopenjpeg/j2k.h +++ b/libopenjpeg/j2k.h @@ -104,7 +104,8 @@ typedef enum J2K_STATUS { J2K_STATE_TPHSOT = 0x0008, /**< the decoding process is in a tile part header and expects a SOT marker */ 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_NEOC = 0x0040, /**< the decoding process must not expect a EOC marker because the codestream is truncated */ + J2K_STATE_ERR = 0x0080 /**< the decoding process has encountered an error */ } J2K_STATUS; /* ----------------------------------------------------------------------- */ |
