- 06 Jan, 2015 4 commits
-
-
Max Kellermann authored
Fixes a problem with the "curl" input plugin: IsEOF() always returns true because the "open" flag was cleared by CurlInputStream::RequestDone() when end-of-stream was reached. This flag stays false even when seeking to another position has succeeded. This patch resets the "open" flag to true after seeking successfully.
-
Max Kellermann authored
NetBSD's pthread_setname_np() prototype is incompatible with the rest of the world, and it requires to pass the string argument as a non-const pointer. Instead of working around this misdesign, I hereby disable the feature on NetBSD.
-
Max Kellermann authored
Add macro HAVE_THREAD_NAME which is set when any method to set the thread name is available. Use that macro in FormatThreadName() instead of just checking for HAVE_PTHREAD_SETNAME_NP.
-
Max Kellermann authored
-
- 26 Dec, 2014 17 commits
-
-
Max Kellermann authored
Return false on error, not nullptr.
-
Max Kellermann authored
New in clang 3.6.
-
Max Kellermann authored
Fixes -Winconsistent-missing-override (clang 3.6).
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Return false on error, not nullptr.
-
Max Kellermann authored
Fixes -Winconsistent-missing-override (clang 3.6).
-
Max Kellermann authored
New in clang 3.6.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 23 Dec, 2014 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Jan Brittenson authored
Here's a change to dynamically allocate the DSD ID3 tag buffer. Pretty much anything with cover art is going to exceed the existing, static 4k limit... Here's a change to dynamically allocate the buffer and sanity check it at some upper limit. I rather arbitrarily pulled 256k out of thin air just to keep a corrupt file from causing it to trying to allocate a buffer larger than available memory.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 17 Dec, 2014 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
setvbuf() does not seem to have an effect on Windows.
-
Max Kellermann authored
Make sure everything gets logged right away. No delays because stdio's buffer is not yet full.
-
Max Kellermann authored
Without MEM_COMMIT, the reserved address space is not accessible, and MPD crashes.
-
- 16 Dec, 2014 1 commit
-
-
k44 authored
The definition of the playlist_plugin struct member of the embcue plugin was incorrect.
-
- 14 Dec, 2014 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Works around assertion failure due to something that appears to be a (minor) FFmpeg bug.
-
Max Kellermann authored
-
Max Kellermann authored
Fixes bogus assertion failure.
-
Max Kellermann authored
SocketMonitor::Cancel() does not actually unregister the socket; it only disables the event.
-
Max Kellermann authored
-