Fixed remaining path limit issues

This commit is contained in:
Chris Moeller 2014-08-02 20:32:30 -07:00
parent b536b162f1
commit 7425dc2aad
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
VGMSTREAM * init_vgmstream_bfwav(STREAMFILE *streamFile) {
VGMSTREAM * vgmstream = NULL;
char filename[260];
char filename[PATH_LIMIT];
coding_t coding_type;

View File

@ -11,7 +11,7 @@ typedef struct {
size_t validsize;
uint8_t * buffer;
size_t buffersize;
char name[260];
char name[PATH_LIMIT];
#ifdef PROFILE_STREAMFILE
size_t bytes_read;
int error_count;

View File

@ -3085,7 +3085,7 @@ const char * const dfs_pairs[][2] = {
void try_dual_file_stereo(VGMSTREAM * opened_stream, STREAMFILE *streamFile) {
char filename[PATH_LIMIT];
char filename2[260];
char filename2[PATH_LIMIT];
char * ext;
int dfs_name= -1; /*-1=no stereo, 0=opened_stream is left, 1=opened_stream is right */
VGMSTREAM * new_stream = NULL;