(OGG): have to check for 'OggS' signature now.

This commit is contained in:
morkt 2018-01-12 19:16:58 +04:00
parent df2ae85850
commit 3e6645a336

View File

@ -164,9 +164,11 @@ namespace GameRes.Formats
input = new StreamRegion (input, ogg_pos, section_size);
break;
}
file.Seek ((section_size + 1) & ~1, SeekOrigin.Current);
file.Seek ((section_size + 1) & ~1u, SeekOrigin.Current);
}
}
else if (file.Signature != this.Signature)
return null;
return new OggInput (input);
}