diff options
author | Max Kellermann <max@musicpd.org> | 2018-05-07 10:53:48 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-05-07 10:53:48 +0200 |
commit | b763852f575fa9395289e7fe3e26f9b133961c81 (patch) | |
tree | 5895731a8643fc7e4b9d325b05c90d53868e61f0 /src/decoder | |
parent | 6522d2f72271367cc90a3b4f81c88a925d54981f (diff) |
decoder/dsd: allow 4 MB ID3 tags
Closes #277
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/plugins/DsdLib.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/DsdLib.cxx b/src/decoder/plugins/DsdLib.cxx index 000af531a..bad8ad641 100644 --- a/src/decoder/plugins/DsdLib.cxx +++ b/src/decoder/plugins/DsdLib.cxx @@ -128,7 +128,7 @@ dsdlib_tag_id3(InputStream &is, return; const auto count64 = size - tagoffset; - if (count64 < 10 || count64 > 1024 * 1024) + if (count64 < 10 || count64 > 4 * 1024 * 1024) return; if (!dsdlib_skip_to(nullptr, is, tagoffset)) |