mbunkus/mkvtoolnix — pull request #8 by nmaier (2011-12-04 01:19:39+00:00)
Title: read_buffer_io: Keep track of eof

Since read_buffer_io basically prevents the underlying stream from ever
reaching eof, but some consumers actually check for eof instead of
`req_bytes != read(req_bytes)`, read_buffer_io must keep track of the
eof state itself.
Fixes e.g. SSA reading.