diff --git a/common/stream.h b/common/stream.h index d88e2526615..02677e0dbb2 100644 --- a/common/stream.h +++ b/common/stream.h @@ -430,7 +430,8 @@ public: : _parentStream(parentStream), _disposeParentStream(disposeParentStream), _pos(0), - _end(end) { + _end(end), + _eos(false) { assert(parentStream); } ~SubReadStream() {