aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/WildmidiDecoderPlugin.hxx
diff options
context:
space:
mode:
authorJan Brittenson <bson@rockgarden.net>2014-12-22 22:26:55 -0800
committerMax Kellermann <max@duempel.org>2014-12-23 09:49:33 +0100
commit35db88affe5d158c1bfda46e4cd0f8c69db4426d (patch)
treeb32a17a9100bc49f03d94f7c1bee3a422d998d84 /src/decoder/plugins/WildmidiDecoderPlugin.hxx
parente38faca455995f1ae7df54780ffeed53c8037346 (diff)
downloadmpd-35db88affe5d158c1bfda46e4cd0f8c69db4426d.tar.gz
mpd-35db88affe5d158c1bfda46e4cd0f8c69db4426d.tar.xz
mpd-35db88affe5d158c1bfda46e4cd0f8c69db4426d.zip
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.
Diffstat (limited to 'src/decoder/plugins/WildmidiDecoderPlugin.hxx')
0 files changed, 0 insertions, 0 deletions