• Max Kellermann's avatar
    replay_gain_info: use INFINITY to mark undefined values · c05e6a12
    Max Kellermann authored
    The previous patch not only moved code, it also changed the check.
    Negative gain values seem to be valid after all, there just was the
    "magic" value 0.0 which means "not available".  This patch changes the
    "magic" value to "INFINITY", and uses the C99 function isinf() to
    check.  It might have been a better idea to use "NAN", but the "NAN"
    macro is a GNU extension.
    c05e6a12
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...