From ab32785ef607d41b0c36f79499501abb2ee32339 Mon Sep 17 00:00:00 2001 From: morkt Date: Wed, 5 Sep 2018 13:25:32 +0400 Subject: [PATCH] (KOG): BinaryStream in redundant. --- Legacy/Sviu/AudioKOG.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Legacy/Sviu/AudioKOG.cs b/Legacy/Sviu/AudioKOG.cs index a98feeb3..ce0af78f 100644 --- a/Legacy/Sviu/AudioKOG.cs +++ b/Legacy/Sviu/AudioKOG.cs @@ -47,8 +47,7 @@ namespace GameRes.Formats.Sviu uint signature = file.ReadUInt32(); if (signature != OggAudio.Instance.Signature) return null; - var input = new StreamRegion (file.AsStream, header_size); - var ogg = new BinaryStream (input, file.Name); + var ogg = new StreamRegion (file.AsStream, header_size); return new OggInput (ogg); } }