Commit f51ba646 authored by Max Kellermann's avatar Max Kellermann

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?).
parent 77b95d08
......@@ -4,6 +4,8 @@ ver 0.15.6 (2009/??/??)
- input/mms: require libmms 0.4
* archive:
- zzip: require libzzip 0.13
* tags:
- id3: allow 4 MB RIFF/AIFF tags
* decoders:
- ffmpeg: convert metadata
- ffmpeg: align the output buffer
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment