Fix a regression in flush() that does not reset all bits and may corrupt the stream later
Fix a regression in flush() that does not reset all bits and may corrupt the stream later

sharkkid/kanzi,rukistar/kanzi,rzel/kanzi,rzel/kanzi,sharkkid/kanzi,Sputuks3/kanzi,Sputuks3/kanzi,rzel/kanzi,sharkkid/kanzi,rukistar/kanzi,rukistar/kanzi,Sputuks3/kanzi