Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minimp3: remove TAG+ support #584

Merged
merged 1 commit into from
Jan 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/codecs/minimp3/minimp3_ex.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ static void mp3dec_skip_id3v1(const uint8_t *buf, size_t *pbuf_size)
size_t buf_size = *pbuf_size;
#ifndef MINIMP3_NOSKIP_ID3V1
if (buf_size >= 128 && !memcmp(buf + buf_size - 128, "TAG", 3))
{
buf_size -= 128;
if (buf_size >= 227 && !memcmp(buf + buf_size - 227, "TAG+", 4))
buf_size -= 227;
}
#endif
#ifndef MINIMP3_NOSKIP_APEV2
if (buf_size > 32 && !memcmp(buf + buf_size - 32, "APETAGEX", 8))
Expand Down
Loading