Merge pull request #756 from julianxhokaxhiu/master

sps_n1: init_vgmstream_ogg_vorbis is available when VGM_USE_VORBIS=ON
This commit is contained in:
bnnm 2020-11-12 22:41:15 +01:00 committed by GitHub
commit 9e971af292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,10 +92,12 @@ VGMSTREAM* init_vgmstream_sps_n1_segmented(STREAMFILE* sf) {
/* 0x0c: num_samples (slightly smaller than added samples?) */
switch(type) {
#ifdef VGM_USE_VORBIS
case 7:
init_vgmstream_subfile = init_vgmstream_ogg_vorbis;
extension = "ogg";
break;
#endif
case 9:
init_vgmstream_subfile = init_vgmstream_opus_std;