mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(Mp3Audio.TryOpen): recognize MPEG 2.5 signature.
This commit is contained in:
parent
02e68fcda9
commit
b32ac64569
@ -104,7 +104,7 @@ namespace GameRes.Formats
|
||||
if (4 != file.Read (header, 0, 4))
|
||||
return null;
|
||||
}
|
||||
if (0xff != header[0] || 0xf2 != (header[1] & 0xf6) || 0xf0 == (header[2] & 0xf0))
|
||||
if (0xff != header[0] || 0xe2 != (header[1] & 0xe6) || 0xf0 == (header[2] & 0xf0))
|
||||
return null;
|
||||
file.Position = 0;
|
||||
return new Mp3Input (file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user