- 02 Jan, 2009 1 commit
-
-
Max Kellermann authored
Use G_GNUC_UNUSED instead of mpd_unused (which has already been removed).
-
- 01 Jan, 2009 1 commit
-
-
Max Kellermann authored
Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
-
- 29 Dec, 2008 2 commits
-
-
Max Kellermann authored
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
-
Frank Mulder authored
I tried to search for a certain composer in my collection, but only non-mp4 files showed up. The source code reveals that this tag is not read. This can be fixed by reading the 'Writer' tag field, in mp4_plugin.c, in function mp4_load_tag. I actually tried this, and after compiling with those lines added, also mp4 (.m4a) files showed up when searching for a composer.
-
- 28 Dec, 2008 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Don't do two allocations for the mod_Data structure.
-
Viliam Mateicka authored
-
Pauli Virtanen authored
This patch adds RVA2 (relative volume adjustment) tag support to mpd, as a fallback if no replaygain tags are found. The code is almost directly from madplay (GPL). RVA2 tags are generated for example by the "normalize" utility. Updated by: Avuton Olrich <avuton@gmail.com>
-
- 27 Dec, 2008 1 commit
-
-
Max Kellermann authored
The input_stream object should only be closed by the MPD core (i.e. decoder_thread.c / decoder_run()). A decoder plugin which attempts to close it will result in a segmentation fault.
-
- 24 Dec, 2008 3 commits
-
-
Max Kellermann authored
The old code casted it to a 32 bit integer, which cut off bits. AVFormatContext.duration is a int64_t, so use this type.
-
Max Kellermann authored
Use NULL instead. Found by sparse.
-
Max Kellermann authored
Add G_GNUC_UNUSED attributes.
-
- 15 Dec, 2008 2 commits
-
-
Viliam Mateicka authored
-
Viliam Mateicka authored
-
- 08 Dec, 2008 1 commit
-
-
Max Kellermann authored
Variables which hold one of the DECODE_* values should be declared as "enum mp3_action" instead of "int".
-
- 03 Dec, 2008 1 commit
-
-
Viliam Mateicka authored
-
- 27 Nov, 2008 1 commit
-
-
Max Kellermann authored
Use GLib's g_warning(), ... instead of MPD's deprecated log.h.
-
- 24 Nov, 2008 1 commit
-
-
Max Kellermann authored
SEEK_SET is defined by unistd.h. Explicitly include it.
-
- 22 Nov, 2008 1 commit
-
-
Laszlo Ashin authored
-
- 21 Nov, 2008 5 commits
-
-
Max Kellermann authored
Refuse to play audio formats which are not supported by MPD.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Removed the superfluous my_usleep() call.
-
- 20 Nov, 2008 3 commits
-
-
Max Kellermann authored
-
Laszlo Ashin authored
-
Max Kellermann authored
The ov_info() return value may be corrupt when ov_read() did not return a positive value. First check for success, then check ov_info().
-
- 18 Nov, 2008 3 commits
-
-
Laszlo Ashin authored
Somehow we lost 600e1322 after renaming some variables in ed6f6046.
-
Viliam Mateicka authored
The ffmpeg library provides some of the song metadata in the AVFormatContext struct. Pass it from there to MPD.
-
Viliam Mateicka authored
[mk: by definition, tag_new() cannot fail - removed check]
-
- 16 Nov, 2008 3 commits
-
-
Max Kellermann authored
Define the special value "-1" as "unknown size". Previously, there was no indicator for streams with unknown size, which might confuse some decoders.
-
Max Kellermann authored
With whence==AVSEEK_SIZE, the seek function should return the file size, not the current offset. Check the return value of input_stream_seek().
-
Max Kellermann authored
neaacdec.h declares all arguments as "unsigned long", but internally expects uint32_t pointers. This triggers gcc warnings on 64 bit architectures. To avoid that, make configure.ac detect whether we're using Debian's corrected headers or the original libfaad headers. In any case, pass a pointer to an uint32_t, conditionally casted to "unsigned long*".
-
- 15 Nov, 2008 2 commits
-
-
Laszlo Ashin authored
-
Laszlo Ashin authored
In 432da18e a dynamic buffer was replaced by a static one but some frees were accidently left there which caused some segfaults.
-
- 14 Nov, 2008 3 commits
-
-
László Áshin authored
The wavpack open function gives us an option called OPEN_STREAMING. This provides more robust and error tolerant playback, but it automatically disables seeking. (More exactly the wavpack lib will not return the length information.) So, if the stream is already not seekable we can use this option safely.
-
László Áshin authored
Wavpack plugin doesn't stop decoding if a block couldn't be fully decoded, rather it tries to go on.
-
László Áshin authored
-
- 13 Nov, 2008 1 commit
-
-
Max Kellermann authored
mp3 seeking was broken, because the command==SEEK check was never reached. Swap the command check order (==SEEK before !=NONE) to fix that.
-
- 12 Nov, 2008 1 commit
-
-
Max Kellermann authored
-