| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Use the new uri_get_suffix() overload that removes the query string.
|
| |
|
|
|
|
| |
Negating an unsigned integer does not work.
|
| |
|
| |
|
|
|
|
|
| |
Works around the "PCM conversion from f to dsd is not implemented"
error message that prevents DSD playback.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many years ago, FAAD had a serious ABI bug: the NeAACDecInit()
prototype in its header declared the "samplerate" parameter to be
"unsigned long *", but internally, the function assumed it was
"uint32_t *" instead. On 32 bit machines, that was no difference, but
on 64 bit, this left one portion of the return value uninitialized;
and worse, on big-endian, the wrong word was filled. This bug had to
be worked around in MPD (commit 9c4e97a6).
A few months later, the bug was fixed in the FAAD CVS in commit 1.117
on file libfaad/decoder.c; the commit message was:
"Use public headers internally to prevent duplicate declarations"
The commit message was too brief at best; the problem was not
duplicate declarations, but a prototype mismatch. No mention of the
bug fix in the ChangeLog.
The MPD project never learned about this bug fix, and so MPD would
always pass a "uin32_t *" dressed up as a "unsigned long *". Nearly 6
years later, it's about time to fix this second ABI problem. Let's
kill the workaround!
|
| |
|
| |
|
|
|
|
| |
Fixes memory leak because ao_plugin_close() never gets called.
|
|
|
|
|
| |
Fixes assertion failure in destructor by not assigning
{src,dest}_format when an error occurs.
|
| |
|
| |
|
|
|
|
|
| |
Fixes truncated lines in m3u and cue files (regression by commit
67958f7).
|
| |
|
|
|
|
|
| |
The file systemd/mpd.service.in is being distributed implicitly, but
systemd/mpd.socket is not and needs to be added to EXTRA_DIST.
|
|
|
|
| |
Fixes deadlock bug in the "mms" plugin.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
The new tag is supported by all decoders that use the tag name table,
and the ID3v2 tag "TSOA" maps to it.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\| |
|
| |
| |
| |
| | |
Fixes MixRamp breakage.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On NetBSD, PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER are
not compatible with C++11 "constexpr" (see Mantis ticket 0004110). As
a workaround, don't ues "constexpr", and use the functions
pthread_mutex_init(), pthread_mutex_destroy(), pthread_cond_init() and
pthread_cond_destroy() instead. This adds some runtime overhead, but
is portable to POSIX implementations that have awkward initializer
macros.
|
| | |
|
| |
| |
| |
| |
| | |
Support these PCM formats natively, instead of letting libsndfile
convert everything to 32 bit.
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
That attribute was uninitialized before, which could crash
libavformat.
See Debian bug 760669
|
| |
| |
| |
| |
| | |
See code comment. Fixes assertion failure in
decoder_command_finished().
|
| |
| |
| |
| |
| |
| | |
Log call was added to the wrong branch.
Fixes regression by commit ca1a1149
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Casting std::numeric_limits<unsigned>::max() to "long" leads to an
overflow if sizeof(unsigned)==sizeof(long), and the result will be -1.
This happens on some 32 bit architectures, for example ARM and WIN32.
Workaround: use std::numeric_limits<int>::max(), which is the largest
signed integer. Since sizeof(long)>=sizeof(int), this will never
overflow.
Fixes Mantis ticket 0004080.
|
| | |
|
| |
| |
| |
| |
| | |
The standard has been renamed since the early draft that was
implemented in MPD.
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The "current" attribute is a "song order", not a "song position".
This is usually the same - except in random mode. Fixes Mantis ticket
0004073.
|
| | |
|