diff options
author | Max Kellermann <max@musicpd.org> | 2019-06-05 22:19:35 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-06-05 22:19:35 +0200 |
commit | 3fae2150f5f120c5652ce6b62362ab040cf0945b (patch) | |
tree | eecb76540187a5329f888b72b73e60feb166886c /android | |
parent | f9ca2f52c17aa037c5cffb28b9052a4003cad36d (diff) |
decoder/OpusReader: return StringView
Since we now don't duplicate all items, we can easily remove the 64kB
limit from OpusReader::ReadString() and instead silently ignore and
skip all strings which are longer than 4 kB.
This fixes a tag duplication bug with Opus file containing a very long
`METADATA_BLOCK_PICTURE` tag, which occurred because the Opus plugin
returned false after parsing all tags, and then the MPD core fell back
to FFmpeg which scanned the tags again.
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions