- 23 Nov, 2021 2 commits
-
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
stdint.h is deprecated. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Nov, 2021 1 commit
-
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 13 Oct, 2021 1 commit
-
-
Max Kellermann authored
These malformed strings must not be transferred over the wire, because the MPD protocol is defined to be UTF-8. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1274
-
- 17 Aug, 2021 1 commit
-
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 26 Jul, 2021 1 commit
-
-
Jacob Vosmaer authored
-
- 31 May, 2021 1 commit
-
-
Rosen Penev authored
Found with cppcoreguidelines-special-member-functions Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 07 Feb, 2021 2 commits
-
-
Max Kellermann authored
Commit 79b23663 added the field `skip` to support unaligned reads, but set the `offset` field to a wrong value. This resulted in miscalculation of `remaining`, causing an assertion failure. The fix is to assign `offset` the correct value, but consider the `skip` value in the assertion. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1067
-
Max Kellermann authored
After a Seek() to an odd offset, some data needs to be skipped from the start of the block, and reading right into the given buffer doesn't work.
-
- 17 Jan, 2021 1 commit
-
-
Rosen Penev authored
Found with cppcoreguidelines-interfaces-global-init Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 04 Nov, 2020 1 commit
-
-
Max Kellermann authored
-
- 21 Sep, 2020 4 commits
-
-
Max Kellermann authored
Skip the beginning of a sector if the last seek was odd, and clear the buffer on seek.
-
Max Kellermann authored
-
Max Kellermann authored
Skip the beginning of a sector if the last seek was odd, and clear the buffer on seek.
-
Max Kellermann authored
-
- 07 Sep, 2020 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Oh the horror! This plugin cannot possibly ever have worked. It was broken from the start, when it was added in commit 37796699 nearly twelve (!) years ago. The plugin would always read at sector boundaries, so it could only ever work at multiples of 2 kB.
-
- 04 Sep, 2020 13 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Don't silently return 0 when there is no more data, because this may crash the caller. And flush output even if input EOF has been reached.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Sometimes, zzip_file_read() returns 0 even though the end of the file was not reached. This causes assertion failures in DecoderBridge::Read(). Closes https://github.com/MusicPlayerDaemon/MPD/issues/935
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This eliminates a tiny amount of overhead because the compiler can choose how to pass the parameter.
-
Max Kellermann authored
-
- 27 May, 2020 1 commit
-
-
Max Kellermann authored
Some more `-Wpedantic` fixups.
-
- 05 May, 2020 1 commit
-
-
Max Kellermann authored
This makes ccache more efficient when recompiling with different plugins.
-
- 19 Mar, 2020 1 commit
-
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Mar, 2020 2 commits
-
-
Rosen Penev authored
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Introduced in C++17. It replaces gcc's warn_unused_result. Found with modernize-use-nodiscard. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 07 Mar, 2020 2 commits
-
-
Max Kellermann authored
Aparently, libcdio sometimes returns empty filenames, causing MPD crashes. This shouldn't really happen, and I consider this a libcdio bug - but if it happens, people blame MPD, so let's add a check. Closes https://github.com/MusicPlayerDaemon/MPD/issues/776
-
Max Kellermann authored
-
- 05 Feb, 2020 1 commit
-
-
Max Kellermann authored
-
- 02 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with performance-unnecessary-value-param Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-