Commit 10bc1a9a authored by Max Kellermann's avatar Max Kellermann

decoder/flac: fix tag name comparison

parent 3f899f83
......@@ -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] == '=') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment