struct opj_stream_private *p_stream,
struct opj_event_mgr * p_manager );
-/**
-Read the COM marker (comment)
-@param j2k J2K handle
-*/
-static void j2k_read_com(opj_j2k_t *j2k);
/**
* Reads a COM marker (comments)
* @param p_header_data the data contained in the COM box.
return OPJ_TRUE;
}
-static void j2k_read_com(opj_j2k_t *j2k) {
- int len;
-
- opj_cio_t *cio = j2k->cio;
-
- len = cio_read(cio, 2);
- cio_skip(cio, len - 2);
-}
/**
* Reads a COM marker (comments)
* @param p_header_data the data contained in the COM box.
/*{J2K_MS_PPT, J2K_STATE_TPH, j2k_read_ppt},*/
{J2K_MS_SOP, 0, 0},
/*{J2K_MS_CRG, J2K_STATE_MH, j2k_read_crg},*/
- {J2K_MS_COM, J2K_STATE_MH | J2K_STATE_TPH, j2k_read_com},
+ /*{J2K_MS_COM, J2K_STATE_MH | J2K_STATE_TPH, j2k_read_com},*/
#ifdef USE_JPWL
{J2K_MS_EPC, J2K_STATE_MH | J2K_STATE_TPH, j2k_read_epc},