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?).
This commit is contained in:
parent
77b95d08a5
commit
f51ba6464a
2
NEWS
2
NEWS
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue