init filename array

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@904 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2011-01-06 01:23:02 +00:00
parent 9101076b45
commit 2bb675b980

View File

@ -117,7 +117,7 @@ VGMSTREAM * init_vgmstream_aax(STREAMFILE *streamFile) {
off_t *segment_offset = NULL;
off_t *segment_size = NULL;
int32_t sample_count;
int table_error;
int table_error = 0;
int loop_flag = 0;
int32_t loop_start_sample=0;
@ -747,7 +747,7 @@ VGMSTREAM * init_vgmstream_utf_dsp(STREAMFILE *streamFile) {
VGMSTREAM * vgmstream = NULL;
char filename[260];
int table_error;
int table_error = 0;
int loop_flag = 0;
@ -762,9 +762,9 @@ VGMSTREAM * init_vgmstream_utf_dsp(STREAMFILE *streamFile) {
long header_offset, header_size;
/* check extension, case insensitive */
//streamFile->get_name(streamFile,filename,sizeof(filename));
streamFile->get_name(streamFile,filename,sizeof(filename));
//if (strcasecmp("aax",filename_extension(filename))) goto fail;
/* get entry count, data offset */
{
struct utf_query_result result;