mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-31 12:23:44 +01:00
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:
parent
d67c726073
commit
2c292eb086
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user