mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-30 11:57:27 +01:00
Disable dump_streamfile when debug isn't used, just in case
This commit is contained in:
parent
0e924b6467
commit
7f424bb7e9
@ -1098,6 +1098,7 @@ void get_streamfile_ext(STREAMFILE *streamFile, char * filename, size_t size) {
|
|||||||
|
|
||||||
/* debug util, mainly for custom IO testing */
|
/* debug util, mainly for custom IO testing */
|
||||||
void dump_streamfile(STREAMFILE *streamFile, const char* out) {
|
void dump_streamfile(STREAMFILE *streamFile, const char* out) {
|
||||||
|
#ifdef VGM_DEBUG_OUTPUT
|
||||||
off_t offset = 0;
|
off_t offset = 0;
|
||||||
FILE *f = NULL;
|
FILE *f = NULL;
|
||||||
|
|
||||||
@ -1122,4 +1123,5 @@ void dump_streamfile(STREAMFILE *streamFile, const char* out) {
|
|||||||
if (out) {
|
if (out) {
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user