From 10bc1a9acc582636b391e5f60f989d2fefb23d05 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 22 Oct 2013 01:05:09 +0200 Subject: [PATCH] decoder/flac: fix tag name comparison --- src/decoder/FlacMetadata.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] == '=') {