(KOG): BinaryStream in redundant.

This commit is contained in:
morkt 2018-09-05 13:25:32 +04:00
parent 073aacab05
commit ab32785ef6

View File

@ -47,8 +47,7 @@ namespace GameRes.Formats.Sviu
uint signature = file.ReadUInt32(); uint signature = file.ReadUInt32();
if (signature != OggAudio.Instance.Signature) if (signature != OggAudio.Instance.Signature)
return null; return null;
var input = new StreamRegion (file.AsStream, header_size); var ogg = new StreamRegion (file.AsStream, header_size);
var ogg = new BinaryStream (input, file.Name);
return new OggInput (ogg); return new OggInput (ogg);
} }
} }