Commit 7aea2853 authored by Max Kellermann's avatar Max Kellermann

Revert "Fix unsafe float comparison."

This reverts commit a5273d69. It was wrong and broke the MixRamp unit test. Closes https://github.com/MusicPlayerDaemon/MPD/issues/844
parent 47a7707d
ver 0.21.24 (not yet released)
* fix unit test failure
ver 0.21.23 (2020/04/23)
* protocol
......
......@@ -62,7 +62,7 @@ mixramp_interpolate(const char *ramp_list, float required_db) noexcept
++ramp_list;
/* Check for exact match. */
if (db >= required_db) {
if (db == required_db) {
return duration;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment