summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/t1.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-05-22 23:30:30 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-05-23 17:06:46 +0200
commitc76a59213100bbec567a0c78b7b1b8ba82d1e1fa (patch)
tree9f26470326fc73f28425ccff6ec81a5be89ac59b /src/lib/openjp2/t1.h
parent4068363ff5021608180f712823db55d9c0a551e6 (diff)
T1: remove unused code in decoder
Diffstat (limited to 'src/lib/openjp2/t1.h')
-rw-r--r--src/lib/openjp2/t1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/openjp2/t1.h b/src/lib/openjp2/t1.h
index 1525dd9d..59c2d016 100644
--- a/src/lib/openjp2/t1.h
+++ b/src/lib/openjp2/t1.h
@@ -72,9 +72,11 @@ in T1.C are used by some function in TCD.C.
#define T1_SGN_W 0x0800U
#define T1_SGN (T1_SGN_N|T1_SGN_E|T1_SGN_S|T1_SGN_W)
+#ifdef CONSISTENCY_CHECK
#define T1_SIG 0x1000U /**< No longer used by decoder */
-#define T1_REFINE 0x2000U /**< No longer used by decoder */
#define T1_VISIT 0x4000U /**< No longer used by decoder */
+#endif
+
/* END of flags that apply to opj_flag_t */
#define T1_NUMCTXS_ZC 9