mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-01 12:27:56 +01:00
commit
772fe03e10
@ -37,8 +37,9 @@ VGMSTREAM* init_vgmstream_encrypted(STREAMFILE* sf) {
|
||||
|
||||
temp_sf = setup_ogg_vorbis_streamfile(sf, cfg);
|
||||
if (!temp_sf) goto fail;
|
||||
VGM_LOG("2\n");
|
||||
#ifdef VGM_USE_VORBIS
|
||||
vgmstream = init_vgmstream_ogg_vorbis(temp_sf);
|
||||
#endif
|
||||
close_streamfile(temp_sf);
|
||||
return vgmstream;
|
||||
}
|
||||
@ -55,7 +56,9 @@ VGMSTREAM* init_vgmstream_encrypted(STREAMFILE* sf) {
|
||||
temp_sf = setup_ogg_vorbis_streamfile(sf, cfg);
|
||||
if (!temp_sf) goto fail;
|
||||
|
||||
#ifdef VGM_USE_FFMPEG //TODO: allow MP3 without FFmpeg
|
||||
vgmstream = init_vgmstream_ffmpeg(temp_sf);
|
||||
#endif
|
||||
close_streamfile(temp_sf);
|
||||
return vgmstream;
|
||||
}
|
||||
|
@ -145,7 +145,9 @@ VGMSTREAM* init_vgmstream_xnb(STREAMFILE* sf) {
|
||||
if (!temp_sf) goto fail;
|
||||
|
||||
if (is_ogg) {
|
||||
#ifdef VGM_USE_VORBIS
|
||||
vgmstream = init_vgmstream_ogg_vorbis(temp_sf);
|
||||
#endif
|
||||
} else {
|
||||
vgmstream = init_vgmstream_riff(temp_sf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user