summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-08-09 17:37:05 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-08-09 17:37:05 +0200
commit4b16e8d27ae524c5bf5f8af299703f7334752465 (patch)
treee6ef1a4c6392296e154f9f99c674900df44a7d11
parent5e200452db84947f4eb893ae7f02f7dd9a358378 (diff)
Remove useless opj_tcd_t::enumcs field added per #975
-rw-r--r--src/lib/openjp2/j2k.c1
-rw-r--r--src/lib/openjp2/tcd.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/openjp2/j2k.c b/src/lib/openjp2/j2k.c
index 9cdc770b..44de79a7 100644
--- a/src/lib/openjp2/j2k.c
+++ b/src/lib/openjp2/j2k.c
@@ -8769,7 +8769,6 @@ OPJ_BOOL opj_j2k_decode_tile(opj_j2k_t * p_j2k,
opj_event_msg(p_manager, EVT_ERROR, "Failed to decode.\n");
return OPJ_FALSE;
}
- p_j2k->m_tcd->enumcs = p_j2k->enumcs;
/* p_data can be set to NULL when the call will take care of using */
/* itself the TCD data. This is typically the case for whole single */
diff --git a/src/lib/openjp2/tcd.h b/src/lib/openjp2/tcd.h
index 1883fc3c..3f40b359 100644
--- a/src/lib/openjp2/tcd.h
+++ b/src/lib/openjp2/tcd.h
@@ -252,8 +252,6 @@ typedef struct opj_tcd {
OPJ_BITFIELD m_is_decoder : 1;
/** Thread pool */
opj_thread_pool_t* thread_pool;
- /** AFL test */
- OPJ_UINT32 enumcs;
} opj_tcd_t;
/** @name Exported functions */