mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
(KOG): BinaryStream in redundant.
This commit is contained in:
parent
073aacab05
commit
ab32785ef6
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user