diff options
Diffstat (limited to 'src/demuxers/id3.h')
-rw-r--r-- | src/demuxers/id3.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/demuxers/id3.h b/src/demuxers/id3.h index 711087a95..897bb6cd0 100644 --- a/src/demuxers/id3.h +++ b/src/demuxers/id3.h @@ -174,10 +174,7 @@ int id3v2_parse_tag(input_plugin_t *input, * @param ptr Pointer to the first 10 bytes of the ID3 tag */ static inline int id3v2_istag(uint32_t id3_signature) { - return - (ptr[0] == 'I') && - (ptr[1] == 'D') && - (ptr[2] == '3'); + return (id3_signature & ID3V2X_MASK) == ID3V2X_TAG; } #if 0 |