samtools/htslib — pull request #91 by jkbonfield (2014-05-13 16:08:21+00:00)
Title: Changed the initial CRAM EOF value to be 1 (expected EOF) and then

explicitly set it to 0 at the start of each slice decode.

This resolves https://github.com/samtools/samtools/issues/150 where "samtools view -H" would
return EOF as 0 and yield an error.