From 2c292eb086750b6fedab7bd1594bf661f9baeeea Mon Sep 17 00:00:00 2001 From: halleyscometsw Date: Sat, 10 Apr 2010 21:01:41 +0000 Subject: [PATCH] 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 --- src/meta/p3d.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/meta/p3d.c b/src/meta/p3d.c index 8df38cfb..aaed8a0d 100644 --- a/src/meta/p3d.c +++ b/src/meta/p3d.c @@ -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;