diff options
author | Max Kellermann <max@duempel.org> | 2013-10-22 01:05:09 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-22 01:05:09 +0200 |
commit | 10bc1a9acc582636b391e5f60f989d2fefb23d05 (patch) | |
tree | b8394dbdeb3269e03ba8029f3ec4b660a075007d /src/decoder | |
parent | 3f899f83fff45d27132e7fde00150f38e0ffd3a0 (diff) | |
download | mpd-10bc1a9acc582636b391e5f60f989d2fefb23d05.tar.gz mpd-10bc1a9acc582636b391e5f60f989d2fefb23d05.tar.xz mpd-10bc1a9acc582636b391e5f60f989d2fefb23d05.zip |
decoder/flac: fix tag name comparison
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/FlacMetadata.cxx | 2 |
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] == '=') { |