• 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
..
plugins Loading commit data...
Bridge.cxx Loading commit data...
Bridge.hxx Loading commit data...
Client.hxx Loading commit data...
Command.hxx Loading commit data...
Control.cxx Loading commit data...
Control.hxx Loading commit data...
DecoderAPI.cxx Loading commit data...
DecoderAPI.hxx Loading commit data...
DecoderBuffer.cxx Loading commit data...
DecoderBuffer.hxx Loading commit data...
DecoderList.cxx Loading commit data...
DecoderList.hxx Loading commit data...
DecoderPlugin.cxx Loading commit data...
DecoderPlugin.hxx Loading commit data...
DecoderPrint.cxx Loading commit data...
DecoderPrint.hxx Loading commit data...
Domain.cxx Loading commit data...
Domain.hxx Loading commit data...
Reader.cxx Loading commit data...
Reader.hxx Loading commit data...
Thread.cxx Loading commit data...
meson.build Loading commit data...