(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();
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);
}
}