Jpeg patch

do we need reset m_countSOI  here?