public void reset_marker_reader()
{
m_cinfo.Comp_info = null; /* until allocated by get_sof */
m_cinfo.m_input_scan_number = 0; /* no SOS seen yet */
m_cinfo.m_unread_marker = 0; /* no pending marker */
m_saw_SOI = false; /* set internal state too */
m_saw_SOF = false;
m_discarded_bytes = 0;
m_cur_marker = null;
}