oops, hardcoding channel count is a bug

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@303 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-07-11 03:29:34 +00:00
parent 0b97cf01a8
commit 9fcf65eb86

View File

@ -159,7 +159,7 @@ VGMSTREAM * init_vgmstream_nwa(STREAMFILE *streamFile) {
if (!chstreamfile) goto fail;
for (i=0;i<2;i++) {
for (i=0;i<channel_count;i++) {
vgmstream->ch[i].streamfile = chstreamfile;
vgmstream->ch[i].channel_start_offset=