mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Remove bik2a/bk2a fake extensions since they aren't used
This commit is contained in:
parent
dcbc7e5b9b
commit
06c8ab1b3f
@ -79,9 +79,7 @@ static const char* extension_list[] = {
|
||||
"bik",
|
||||
"bika",
|
||||
"bik2",
|
||||
"bik2a",
|
||||
"bk2",
|
||||
"bk2a",
|
||||
"bmdx",
|
||||
"bms",
|
||||
"bnk",
|
||||
|
@ -12,8 +12,11 @@ VGMSTREAM * init_vgmstream_bik(STREAMFILE *streamFile) {
|
||||
size_t stream_size;
|
||||
|
||||
|
||||
/* check extension, case insensitive (bika = manually demuxed audio) */
|
||||
if (!check_extensions(streamFile,"bik,bika,bik2,bik2a,bk2,bk2a")) goto fail;
|
||||
/* checks */
|
||||
/* .bik/bik2/bk2: standard
|
||||
* .bika = fake extension for demuxed audio */
|
||||
if (!check_extensions(streamFile,"bik,bika,bik2,bk2"))
|
||||
goto fail;
|
||||
|
||||
/* check header "BIK" (bink 1) or "KB2" (bink 2), followed by version-char (audio is the same for both) */
|
||||
if ((read_32bitBE(0x00,streamFile) & 0xffffff00) != 0x42494B00 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user