that 2 doesn't involve channel count

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@739 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2010-02-08 18:35:29 +00:00
parent c56ae2fd6a
commit 78b6aeb17e

View File

@ -8,7 +8,7 @@ VGMSTREAM * init_vgmstream_zwdsp(STREAMFILE *streamFile) {
off_t start_offset;
int loop_flag;
int channel_count;
int channel_count = 2;
/* check extension, case insensitive */
streamFile->get_name(streamFile,filename,sizeof(filename));
@ -29,8 +29,6 @@ VGMSTREAM * init_vgmstream_zwdsp(STREAMFILE *streamFile) {
loop_flag = 1;
}
channel_count = read_32bitBE(0x1C,streamFile);
/* build the VGMSTREAM */
vgmstream = allocate_vgmstream(channel_count,loop_flag);
if (!vgmstream) goto fail;