Fix taglib error message

This commit is contained in:
Robin Gareus
2021-04-08 06:36:47 +02:00
parent c4f0393cf9
commit f0cb8e54c3
2 changed files with 5 additions and 1 deletions

View File

@@ -369,6 +369,10 @@ ExportHandler::finish_timespan ()
while (config_map.begin() != timespan_bounds.second) {
// XXX single timespan+format may produce multiple files
// e.g export selection == session
// -> TagLib::FileRef is null
ExportFormatSpecPtr fmt = config_map.begin()->second.format;
std::string filename = config_map.begin()->second.filename->get_path(fmt);
if (fmt->with_cue()) {