Remove tri-Ace .ace fake extension (use .aac/laac)

This commit is contained in:
bnnm 2020-10-17 19:13:11 +02:00
parent 06b82f7c80
commit f4155c7f50
2 changed files with 2 additions and 4 deletions

View File

@ -37,7 +37,6 @@ static const char* extension_list[] = {
"abk",
//"ac3", //common, FFmpeg/not parsed (AC3)
"acb",
"ace", //fake extension for tri-Ace's .aac (renamed, to be removed)
"acm",
"ad", //txth/reserved [Xenosaga Freaks (PS2)]
"adc", //txth/reserved [Tomb Raider The Last Revelation (DC), Tomb Raider Chronicles (DC)]

View File

@ -32,9 +32,8 @@ VGMSTREAM* init_vgmstream_ta_aac(STREAMFILE* sf) {
/* checks */
/* .aac: actual extension, .laac: for players to avoid hijacking MP4/AAC
* .ace: fake */
if (!check_extensions(sf, "aac,laac,ace"))
/* .aac: actual extension, .laac: for players to avoid hijacking MP4/AAC */
if (!check_extensions(sf, "aac,laac"))
goto fail;
if (read_u32be(0x00, sf) != 0x41414320 &&
read_u32le(0x00, sf) != 0x41414320) /* "AAC " */