mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
cli: tweak for STREAMFILE logging
This commit is contained in:
parent
c194a9674c
commit
72e66dbe8a
@ -694,6 +694,8 @@ static int convert_file(cli_config* cfg) {
|
|||||||
if (!valid) goto fail;
|
if (!valid) goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vgmstream_set_log_stdout(VGM_LOG_LEVEL_ALL);
|
||||||
|
|
||||||
/* open streamfile and pass subsong */
|
/* open streamfile and pass subsong */
|
||||||
{
|
{
|
||||||
STREAMFILE* sf = open_stdio_streamfile(cfg->infilename);
|
STREAMFILE* sf = open_stdio_streamfile(cfg->infilename);
|
||||||
@ -702,8 +704,6 @@ static int convert_file(cli_config* cfg) {
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
vgmstream_set_log_stdout(VGM_LOG_LEVEL_ALL);
|
|
||||||
|
|
||||||
sf->stream_index = cfg->subsong_index;
|
sf->stream_index = cfg->subsong_index;
|
||||||
vgmstream = init_vgmstream_from_STREAMFILE(sf);
|
vgmstream = init_vgmstream_from_STREAMFILE(sf);
|
||||||
close_streamfile(sf);
|
close_streamfile(sf);
|
||||||
|
Loading…
Reference in New Issue
Block a user