]> granicus.if.org Git - openjpeg/commitdiff
Remove useless opj_tcd_t::enumcs field added per #975
authorEven Rouault <even.rouault@spatialys.com>
Wed, 9 Aug 2017 15:37:05 +0000 (17:37 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Wed, 9 Aug 2017 15:37:05 +0000 (17:37 +0200)
src/lib/openjp2/j2k.c
src/lib/openjp2/tcd.h

index 9cdc770b24c61c700a6b9902edbfcc4aa9c4749b..44de79a7516dac5e3fe8c59fab43c402125deb9f 100644 (file)
@@ -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 */
index 1883fc3c87a4e2d37d68edce2c7b5917328e8b48..3f40b3595b1b6e4e63d465e9c01e575263d44005 100644 (file)
@@ -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 */