public jpeg_marker_reader(jpeg_decompress_struct cinfo)
{
m_cinfo = cinfo;
/* Initialize COM/APPn processing.
* By default, we examine and then discard APP0 and APP14,
* but simply discard COM and all other APPn.
*/
m_process_COM = skip_variable;
for (int i = 0; i < 16; i++)
{
m_process_APPn[i] = skip_variable;
m_length_limit_APPn[i] = 0;
}
m_process_APPn[0] = get_interesting_appn;
m_process_APPn[14] = get_interesting_appn;
/* Reset marker processing state */
reset_marker_reader();
}