From eedc97ed580b373404aad566650e55ba8f6ff626 Mon Sep 17 00:00:00 2001 From: Bradley Cornford Date: Thu, 19 Dec 2019 09:23:02 +0000 Subject: [PATCH] Updated MatroskaContainer Removed call to `$this->stream->fp` due to it being a protected property on BinaryStream --- src/Adapters/Containers/MatroskaContainer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Adapters/Containers/MatroskaContainer.php b/src/Adapters/Containers/MatroskaContainer.php index 7fe932e..969d4bd 100644 --- a/src/Adapters/Containers/MatroskaContainer.php +++ b/src/Adapters/Containers/MatroskaContainer.php @@ -229,7 +229,7 @@ protected function scan() { $i = 1; while (!$this->stream->isEnd()) { if ($i++ % 1000 == 0) break; //var_dump(dechex($id), memory_get_usage(), ftell($this->stream->fp)); - $pos = ftell($this->stream->fp); + // $pos = ftell($this->stream->fp); $id = $this->readEbmlElementId(); $size = $this->readEbmlElementSize(); // var_dump(dechex($id), $size, $before_size_pos, ftell($this->stream->fp));