- 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 3 commits
-
-
Rosen Penev authored
Found with performance-unnecessary-value-param Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-pass-by-value Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-redundant-void-arg Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 2 commits
-
-
Max Kellermann authored
-
Rosen Penev authored
Found with modernize-use-override Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 04 Dec, 2019 1 commit
-
-
Max Kellermann authored
Most importantly, this commit translates ZZIP_ENOENT to std::system_error(ENOENT) so IsFileNotFound() returns true and find_stream_art() can suppress the log line.
-
- 03 Aug, 2019 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 15 Jun, 2019 4 commits
-
-
Max Kellermann authored
This can be used for other purposes as well.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-