• Max Kellermann's avatar
    decoder/OpusReader: return StringView · 3fae2150
    Max Kellermann authored
    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.
    3fae2150
Name
Last commit
Last update
android Loading commit data...
build Loading commit data...
doc Loading commit data...
python/build Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...