DSF ID3 tags hitting 4k size limit

Here's a change to dynamically allocate the DSD ID3 tag buffer.
Pretty much anything with cover art is going to exceed the existing,
static 4k limit...  Here's a change to dynamically allocate the buffer
and sanity check it at some upper limit.  I rather arbitrarily pulled
256k out of thin air just to keep a corrupt file from causing it to
trying to allocate a buffer larger than available memory.
This commit is contained in:
Jan Brittenson
2014-12-22 22:26:55 -08:00
committed by Max Kellermann
parent e38faca455
commit 35db88affe
2 changed files with 15 additions and 7 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.19.8 (not yet released)
* decoder
- dsdiff, dsf: allow ID3 tags larger than 4 kB
ver 0.19.7 (2014/12/17)
* input