mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Update bfstm for any header size
This commit is contained in:
parent
e159c86975
commit
709c727401
@ -27,7 +27,7 @@ VGMSTREAM * init_vgmstream_bfstm(STREAMFILE *streamFile) {
|
||||
/* check header */
|
||||
if ((uint32_t)read_32bitBE(0, streamFile) != 0x4653544D) /* "FSTM" */
|
||||
goto fail;
|
||||
if ((uint32_t)read_32bitBE(4, streamFile) != 0xFEFF0040)
|
||||
if ((uint32_t)read_16bitBE(4, streamFile) != 0xFEFF)
|
||||
goto fail;
|
||||
|
||||
founddata = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user