oldschool C

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@971 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2011-12-16 03:31:08 +00:00
parent d8e13f6d29
commit 810f6e4635

View File

@ -66,6 +66,7 @@ VGMSTREAM * init_vgmstream_sqex_scd(STREAMFILE *streamFile) {
vgm_vorbis_info_t inf;
uint32_t seek_table_size = read_32bit(meta_offset+0x30, streamFile);
uint32_t vorb_header_size = read_32bit(meta_offset+0x34, streamFile);
VGMSTREAM * result = NULL;
memset(&inf, 0, sizeof(inf));
inf.loop_start = loop_start;
@ -76,7 +77,7 @@ VGMSTREAM * init_vgmstream_sqex_scd(STREAMFILE *streamFile) {
inf.layout_type = layout_ogg_vorbis;
inf.meta_type = meta_SQEX_SCD;
VGMSTREAM * result = init_vgmstream_ogg_vorbis_callbacks(streamFile, filename, NULL, start_offset, &inf);
result = init_vgmstream_ogg_vorbis_callbacks(streamFile, filename, NULL, start_offset, &inf);
if (result != NULL) {
return result;