mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-19 00:04:04 +01:00
close the streamfile we had passed on to the wav initer
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@295 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
6f4410dd2c
commit
56d196a648
@ -41,6 +41,9 @@ VGMSTREAM * init_vgmstream_pos(STREAMFILE *streamFile) {
|
||||
vgmstream = init_vgmstream_riff(streamFileWAV);
|
||||
if (!vgmstream) goto fail;
|
||||
|
||||
close_streamfile(streamFileWAV);
|
||||
streamFileWAV = NULL;
|
||||
|
||||
/* install loops */
|
||||
if (!vgmstream->loop_flag) {
|
||||
vgmstream->loop_flag = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user