Added comments describing change to allow multiple runs of same codec.
Changed CRLF handling.