diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-02 11:07:40 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-02 11:07:40 +0200 |
commit | cf471e830ffd9dc417aeb5e85a9bbbfbd6d18b09 (patch) | |
tree | 15eceda578d636e84d4e98829167f37a1d9aeeda /src/input/InputStream.cxx | |
parent | 22192adbc8b150cf17446936a67d91227e787581 (diff) | |
parent | 906972973e5ff849cfea2e786b6d304057dfc529 (diff) |
Merge branch 'v0.20.x'
Diffstat (limited to 'src/input/InputStream.cxx')
-rw-r--r-- | src/input/InputStream.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/input/InputStream.cxx b/src/input/InputStream.cxx index 6dd53456d..da04a6ce1 100644 --- a/src/input/InputStream.cxx +++ b/src/input/InputStream.cxx @@ -21,7 +21,7 @@ #include "InputStream.hxx" #include "Handler.hxx" #include "tag/Tag.hxx" -#include "util/StringCompare.hxx" +#include "util/ASCII.hxx" #include <stdexcept> @@ -60,10 +60,10 @@ gcc_pure static bool ExpensiveSeeking(const char *uri) noexcept { - return StringStartsWith(uri, "http://") || - StringStartsWith(uri, "tidal://") || - StringStartsWith(uri, "qobuz://") || - StringStartsWith(uri, "https://"); + return StringStartsWithCaseASCII(uri, "http://") || + StringStartsWithCaseASCII(uri, "tidal://") || + StringStartsWithCaseASCII(uri, "qobuz://") || + StringStartsWithCaseASCII(uri, "https://"); } bool |