Remove bik2a/bk2a fake extensions since they aren't used

This commit is contained in:
bnnm 2018-08-22 20:43:19 +02:00
parent dcbc7e5b9b
commit 06c8ab1b3f
2 changed files with 5 additions and 4 deletions

View File

@ -79,9 +79,7 @@ static const char* extension_list[] = {
"bik", "bik",
"bika", "bika",
"bik2", "bik2",
"bik2a",
"bk2", "bk2",
"bk2a",
"bmdx", "bmdx",
"bms", "bms",
"bnk", "bnk",

View File

@ -12,8 +12,11 @@ VGMSTREAM * init_vgmstream_bik(STREAMFILE *streamFile) {
size_t stream_size; size_t stream_size;
/* check extension, case insensitive (bika = manually demuxed audio) */ /* checks */
if (!check_extensions(streamFile,"bik,bika,bik2,bik2a,bk2,bk2a")) goto fail; /* .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) */ /* 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 && if ((read_32bitBE(0x00,streamFile) & 0xffffff00) != 0x42494B00 &&