decoder/flac: fix tag name comparison

This commit is contained in:
Max Kellermann 2013-10-22 01:05:09 +02:00
parent 3f899f83ff
commit 10bc1a9acc

View File

@ -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] == '=') {