Add missing nus3 OPUS .opus extension

Also remove tabs to fix GCC warnings about mixing spaces and tabs
This commit is contained in:
bnnm 2018-07-22 00:47:00 +02:00
parent 57b8c6acd3
commit 907a0af3df

View File

@ -278,7 +278,7 @@ VGMSTREAM * init_vgmstream_opus_nus3(STREAMFILE *streamFile) {
int num_samples = 0, loop_start = 0, loop_end = 0, loop_flag; int num_samples = 0, loop_start = 0, loop_end = 0, loop_flag;
/* checks */ /* checks */
if (!check_extensions(streamFile, "lopus")) if (!check_extensions(streamFile, "opus,lopus"))
goto fail; goto fail;
if (read_32bitBE(0x00, streamFile) != 0x4F505553) /* "OPUS" */ if (read_32bitBE(0x00, streamFile) != 0x4F505553) /* "OPUS" */
goto fail; goto fail;