mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(OGG): another tag for ogg streams embedded into WAV files.
This commit is contained in:
parent
eaa3ce4702
commit
e8f87af7f0
@ -147,7 +147,7 @@ namespace GameRes.Formats
|
||||
uint fmt_size = header.ToUInt32 (0x10);
|
||||
long fmt_pos = file.Position;
|
||||
ushort format = file.ReadUInt16();
|
||||
if (format != 0x6770 && format != 0x6771)
|
||||
if (format != 0x676F && format != 0x6770 && format != 0x6771)
|
||||
return null;
|
||||
// interpret WAVE 'data' section as Ogg stream
|
||||
file.Position = fmt_pos + ((fmt_size + 1) & ~1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user