diff options
author | Max Kellermann <max@duempel.org> | 2016-02-22 11:58:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-02-22 13:14:35 +0100 |
commit | 283ef5b1632ec955d5656d2ab68897be5443f690 (patch) | |
tree | 65b2d34b8ac068218cd31aadbd25d247d4c77583 /src/tag/Id3Load.cxx | |
parent | 09a188bfd9987587112e239a06740ca0ca1c9914 (diff) |
tag/Id3Load: use ID3_TAG_QUERYSIZE instead of integer literal
Diffstat (limited to 'src/tag/Id3Load.cxx')
-rw-r--r-- | src/tag/Id3Load.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag/Id3Load.cxx b/src/tag/Id3Load.cxx index 51f7f282d..f637339f8 100644 --- a/src/tag/Id3Load.cxx +++ b/src/tag/Id3Load.cxx @@ -140,7 +140,7 @@ tag_id3_find_from_end(FILE *stream) auto v1tag = tag_id3_read(stream, -128, SEEK_END); /* Get the id3v2 tag size from the footer (located before v1tag) */ - int tagsize = get_id3v2_footer_size(stream, (v1tag ? -128 : 0) - 10, SEEK_END); + int tagsize = get_id3v2_footer_size(stream, (v1tag ? -128 : 0) - ID3_TAG_QUERYSIZE, SEEK_END); if (tagsize >= 0) return v1tag; |