tag/MixRamp: fix typo which broken MixRamp

Fixes regression by commit 8e0d810968 which is 2 years old, and nobody
noticed.  D'oh, how embarassing!
This commit is contained in:
Max Kellermann 2021-12-01 15:25:25 +01:00
parent 36b333459b
commit 16fb843c9b
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -4,6 +4,8 @@ ver 0.23.5 (not yet released)
- fix "searchaddpl" bug (bogus error "Bad position") - fix "searchaddpl" bug (bogus error "Bad position")
* database * database
- upnp: fix crash bug - upnp: fix crash bug
* tags
- fix MixRamp support
* migrate to PCRE2 * migrate to PCRE2
* GCC 12 build fixes * GCC 12 build fixes

View File

@ -36,7 +36,7 @@ ParseMixRampTagTemplate(MixRampInfo &info, const T t) noexcept
} }
const auto end = t["mixramp_end"]; const auto end = t["mixramp_end"];
if (!start.IsNull()) { if (!end.IsNull()) {
info.SetEnd(std::string(end.data, end.size)); info.SetEnd(std::string(end.data, end.size));
return true; return true;
} }