Add/change .opus to .lopus

This commit is contained in:
bnnm 2017-12-17 16:44:31 +01:00
parent ea7c37ef8a
commit aa72a055c1
2 changed files with 2 additions and 1 deletions

View File

@ -162,6 +162,7 @@ static const char* extension_list[] = {
"leg", "leg",
"lmp4", //fake extension, for MP4s "lmp4", //fake extension, for MP4s
"logg", //fake extension, for OGGs "logg", //fake extension, for OGGs
"lopus", //fake extension, for OPUS
"lpcm", "lpcm",
"lps", "lps",
"lsf", "lsf",

View File

@ -11,7 +11,7 @@ VGMSTREAM * init_vgmstream_nsw_opus(STREAMFILE *streamFile) {
off_t offset = 0; off_t offset = 0;
/* check extension, case insensitive */ /* check extension, case insensitive */
if ( !check_extensions(streamFile,"opus")) /* no relation to Ogg Opus */ if ( !check_extensions(streamFile,"opus,lopus")) /* no relation to Ogg Opus */
goto fail; goto fail;
/* variations, maybe custom */ /* variations, maybe custom */