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 */