- 14 Mar, 2016 3 commits
-
-
Max Kellermann authored
When a reference counter is at its limit, don't allocate a new TagPoolSlot - that would result in many TagPoolSlot instances with ref==1. This in turn would make the linked list very very large, which means quadratic runtime for many operations.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 23 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 19 Feb, 2016 1 commit
-
-
Max Kellermann authored
Apply padding only to the fseek(), not to the chunk size. This fixes bogus "failed to read riff chunk" messages when the last chunk has an odd size. See http://bugs.musicpd.org/view.php?id=4486
-
- 15 Dec, 2015 1 commit
-
-
Benno Fünfstück authored
-
- 16 Oct, 2015 1 commit
-
-
Max Kellermann authored
-
- 06 Feb, 2015 1 commit
-
-
Max Kellermann authored
Build a table of pre-existing tag types before adding new items. The old way would check HasType() each time, which would return true after the first instance of that tag type had been added, preventing duplicate tag types to be merged. This broke duplicate tag types loaded from the state file, because this code path uses TagBuilder::Complement().
-
- 26 Dec, 2014 1 commit
-
-
Max Kellermann authored
New in clang 3.6.
-
- 08 Nov, 2014 1 commit
-
-
Max Kellermann authored
On "list albumartist", songs that have no AlbumArtist tag will use the Artist tag. However, if AlbumArtist is disabled via "metadata_to_use", the TagBuilder::AddItem() call is ignored, and PrintUniqueTag() attempts to print a nullptr string. This commit fixes the problem by attempting the fallback only if AlbumArtist is not disabled.
-
- 02 Nov, 2014 1 commit
-
-
Max Kellermann authored
Fixes buffer overflow bug.
-
- 10 Oct, 2014 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Fixes buffer overflow bug.
-
Max Kellermann authored
MPD handles all strings in UTF-8 internally. Those decoders which read Latin-1 tags are supposed to implement the conversion, instead of passing Latin-1 to TagBuilder::AddItem(). FixTagString() is simply the wrong place to do that, and hard-coding Latin-1 is kind of arbitrary.
-
- 29 Sep, 2014 1 commit
-
-
Max Kellermann authored
The new tag is supported by all decoders that use the tag name table, and the ID3v2 tag "TSOA" maps to it.
-
- 27 Sep, 2014 1 commit
-
-
Wieland Hoffmann authored
The Release Track Id uniquely identifies a recording on a release - that is, even if a recording appears twice on a release (meaning that the combination of recording and release id are not enough to figure out which one it is), the release track id will allow differentiating the two. The tag names are taken from https://musicbrainz.org/doc/MusicBrainz_Picard/Tags/Mapping
-
- 24 Sep, 2014 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Move code from the Vorbis and FLAC decoder plugins.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 29 Aug, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 30 Jul, 2014 1 commit
-
-
Max Kellermann authored
-
- 14 Jul, 2014 1 commit
-
-
Max Kellermann authored
-
- 12 Jul, 2014 1 commit
-
-
Max Kellermann authored
Enables using range-based "for".
-
- 16 Jun, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 24 Apr, 2014 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 01 Mar, 2014 1 commit
-
-
Max Kellermann authored
-
- 17 Feb, 2014 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Replaces g_strstrip().
-
Max Kellermann authored
-
- 23 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 19 Jan, 2014 1 commit
-
-
Max Kellermann authored
This saves another 3% memory.
-
- 15 Jan, 2014 1 commit
-
-
Max Kellermann authored
Fixes clang warning.
-