Revert "Fix unsafe float comparison."

This reverts commit a5273d6992.  It was
wrong and broke the MixRamp unit test.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/844
This commit is contained in:
Max Kellermann 2020-04-30 06:57:04 +02:00
parent 47a7707df1
commit 7aea285361
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -1,4 +1,5 @@
ver 0.21.24 (not yet released)
* fix unit test failure
ver 0.21.23 (2020/04/23)
* protocol

View File

@ -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;
}