From 810f6e4635b350c7ba3e48fc663dd18e1cd42303 Mon Sep 17 00:00:00 2001 From: halleyscometsw Date: Fri, 16 Dec 2011 03:31:08 +0000 Subject: [PATCH] oldschool C git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@971 51a99a44-fe44-0410-b1ba-c3e57ba2b86b --- src/meta/sqex_scd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/meta/sqex_scd.c b/src/meta/sqex_scd.c index 4ca5447f..abb98b7d 100644 --- a/src/meta/sqex_scd.c +++ b/src/meta/sqex_scd.c @@ -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;