mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
Fixed remaining path limit issues
This commit is contained in:
parent
b536b162f1
commit
7425dc2aad
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
VGMSTREAM * init_vgmstream_bfwav(STREAMFILE *streamFile) {
|
VGMSTREAM * init_vgmstream_bfwav(STREAMFILE *streamFile) {
|
||||||
VGMSTREAM * vgmstream = NULL;
|
VGMSTREAM * vgmstream = NULL;
|
||||||
char filename[260];
|
char filename[PATH_LIMIT];
|
||||||
|
|
||||||
coding_t coding_type;
|
coding_t coding_type;
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ typedef struct {
|
|||||||
size_t validsize;
|
size_t validsize;
|
||||||
uint8_t * buffer;
|
uint8_t * buffer;
|
||||||
size_t buffersize;
|
size_t buffersize;
|
||||||
char name[260];
|
char name[PATH_LIMIT];
|
||||||
#ifdef PROFILE_STREAMFILE
|
#ifdef PROFILE_STREAMFILE
|
||||||
size_t bytes_read;
|
size_t bytes_read;
|
||||||
int error_count;
|
int error_count;
|
||||||
|
@ -3085,7 +3085,7 @@ const char * const dfs_pairs[][2] = {
|
|||||||
|
|
||||||
void try_dual_file_stereo(VGMSTREAM * opened_stream, STREAMFILE *streamFile) {
|
void try_dual_file_stereo(VGMSTREAM * opened_stream, STREAMFILE *streamFile) {
|
||||||
char filename[PATH_LIMIT];
|
char filename[PATH_LIMIT];
|
||||||
char filename2[260];
|
char filename2[PATH_LIMIT];
|
||||||
char * ext;
|
char * ext;
|
||||||
int dfs_name= -1; /*-1=no stereo, 0=opened_stream is left, 1=opened_stream is right */
|
int dfs_name= -1; /*-1=no stereo, 0=opened_stream is left, 1=opened_stream is right */
|
||||||
VGMSTREAM * new_stream = NULL;
|
VGMSTREAM * new_stream = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user