decoder/flac: fix tag name comparison
This commit is contained in:
parent
3f899f83ff
commit
10bc1a9acc
@ -136,7 +136,7 @@ flac_comment_value(const FLAC__StreamMetadata_VorbisComment_Entry *entry,
|
|||||||
const char *comment = (const char*)entry->entry;
|
const char *comment = (const char*)entry->entry;
|
||||||
|
|
||||||
if (entry->length <= name_length ||
|
if (entry->length <= name_length ||
|
||||||
StringEqualsCaseASCII(comment, name, name_length))
|
!StringEqualsCaseASCII(comment, name, name_length))
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
if (comment[name_length] == '=') {
|
if (comment[name_length] == '=') {
|
||||||
|
Loading…
Reference in New Issue
Block a user