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

View File

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