remove a check of dubious value and a stray debug printf

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@775 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2010-04-10 21:01:41 +00:00
parent d67c726073
commit 2c292eb086

View File

@ -75,10 +75,9 @@ VGMSTREAM * init_vgmstream_p3d(STREAMFILE *streamFile) {
if (read_32bitLE(parse_offset+4,streamFile) != channel_count) goto fail;
sample_rate = read_32bitLE(parse_offset+8,streamFile);
/* codec id? */
if (9 != read_32bitLE(parse_offset+0xC,streamFile)) goto fail;
//if (9 != read_32bitLE(parse_offset+0xC,streamFile)) goto fail;
body_bytes = read_32bitLE(parse_offset+0x10,streamFile);
start_offset = parse_offset+0x14;
printf("start = %x\n", start_offset);
if (start_offset + body_bytes != file_size) goto fail;
loop_flag = 0;