cli: tweak for STREAMFILE logging

This commit is contained in:
bnnm 2022-01-08 21:05:11 +01:00
parent c194a9674c
commit 72e66dbe8a

View File

@ -694,6 +694,8 @@ static int convert_file(cli_config* cfg) {
if (!valid) goto fail;
}
vgmstream_set_log_stdout(VGM_LOG_LEVEL_ALL);
/* open streamfile and pass subsong */
{
STREAMFILE* sf = open_stdio_streamfile(cfg->infilename);
@ -702,8 +704,6 @@ static int convert_file(cli_config* cfg) {
goto fail;
}
vgmstream_set_log_stdout(VGM_LOG_LEVEL_ALL);
sf->stream_index = cfg->subsong_index;
vgmstream = init_vgmstream_from_STREAMFILE(sf);
close_streamfile(sf);