true mastery is knowing when not to loop

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@525 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-12-18 19:44:40 +00:00
parent e62489d9c0
commit 4080018913

View File

@ -25,7 +25,7 @@ VGMSTREAM * init_vgmstream_filp(STREAMFILE *streamFile) {
if (get_streamfile_size(streamFile) != read_32bitLE(0xC,streamFile))
goto fail;
loop_flag = 1;
loop_flag = (read_32bitLE(0x34,streamFile) == 0);
channel_count = read_32bitLE(0x4,streamFile);
/* build the VGMSTREAM */