aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/FlacMetadata.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-22 01:05:09 +0200
committerMax Kellermann <max@duempel.org>2013-10-22 01:05:09 +0200
commit10bc1a9acc582636b391e5f60f989d2fefb23d05 (patch)
treeb8394dbdeb3269e03ba8029f3ec4b660a075007d /src/decoder/FlacMetadata.cxx
parent3f899f83fff45d27132e7fde00150f38e0ffd3a0 (diff)
downloadmpd-10bc1a9acc582636b391e5f60f989d2fefb23d05.tar.gz
mpd-10bc1a9acc582636b391e5f60f989d2fefb23d05.tar.xz
mpd-10bc1a9acc582636b391e5f60f989d2fefb23d05.zip
decoder/flac: fix tag name comparison
Diffstat (limited to '')
-rw-r--r--src/decoder/FlacMetadata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/FlacMetadata.cxx b/src/decoder/FlacMetadata.cxx
index a9c57d926..3e01563bb 100644
--- a/src/decoder/FlacMetadata.cxx
+++ b/src/decoder/FlacMetadata.cxx
@@ -136,7 +136,7 @@ flac_comment_value(const FLAC__StreamMetadata_VorbisComment_Entry *entry,
const char *comment = (const char*)entry->entry;
if (entry->length <= name_length ||
- StringEqualsCaseASCII(comment, name, name_length))
+ !StringEqualsCaseASCII(comment, name, name_length))
return nullptr;
if (comment[name_length] == '=') {