diff options
author | Max Kellermann <max@duempel.org> | 2009-11-15 18:44:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-15 18:44:53 +0100 |
commit | f51ba6464adf1d2324c418e106b66da525f01587 (patch) | |
tree | f171f390d6aa56637ba14f303916328a564840ef /src | |
parent | 77b95d08a55a35bc966b9a9096cd926c315d49b8 (diff) | |
download | mpd-f51ba6464adf1d2324c418e106b66da525f01587.tar.gz mpd-f51ba6464adf1d2324c418e106b66da525f01587.tar.xz mpd-f51ba6464adf1d2324c418e106b66da525f01587.zip |
id3: allow 4 MB RIFF/AIFF tags
Allow RIFF/AIFF ID3 tags up to 4 MB (old limit was 256 kB). This
might still be too small for some users, and when somebody complains,
we might do something more clever (like streaming the data into
libid3tag?).
Diffstat (limited to '')
-rw-r--r-- | src/tag_id3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag_id3.c b/src/tag_id3.c index ce0386a51..0ae37f3ec 100644 --- a/src/tag_id3.c +++ b/src/tag_id3.c @@ -481,7 +481,7 @@ tag_id3_riff_aiff_load(FILE *file) if (size == 0) return NULL; - if (size > 256 * 1024) + if (size > 4 * 1024 * 1024) /* too large, don't allocate so much memory */ return NULL; |