- 20 Jul, 2011 3 commits
-
-
Max Kellermann authored
It used to ignore the decoder_data() return value.
-
Max Kellermann authored
libwavpack provides int32_t samples, and wants uin32_t for sample counts.
-
Max Kellermann authored
.. and remove one indent level.
-
- 18 Jul, 2011 2 commits
-
-
Max Kellermann authored
av_open_input_stream() has been deprecated.
-
Max Kellermann authored
AVMetadata has been deprecated.
-
- 03 Jul, 2011 2 commits
-
-
Max Kellermann authored
Don't calculate the song duration when the sample rate is 0 (division by zero crash).
-
oblique authored
-
- 09 May, 2011 4 commits
-
-
Max Kellermann authored
avcodec_decode_audio3() has been added in libavformat 52.25.0, and the predecessor avcodec_decode_audio2() has been deprecated.
-
Max Kellermann authored
-
Anton Khirnov authored
fixes build with lavc 53.
-
Max Kellermann authored
For ffmpeg < 0.5. Copied from libavutil 0.5.
-
- 23 Mar, 2011 1 commit
-
-
Max Kellermann authored
Fix clang warning.
-
- 09 Feb, 2011 1 commit
-
-
Thomas Jansen authored
Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
-
- 02 Feb, 2011 1 commit
-
-
Tony Miller authored
this needs to be done for the end of songs to be detected.
-
- 21 Dec, 2010 1 commit
-
-
Alex Viskovatoff authored
Rename the "version" struct, because it seems to be a reserved name on Solaris: "src/decoder/mad_decoder_plugin.c", line 550: (enum) tag redeclared: version cc: acomp failed for src/decoder/mad_decoder_plugin.c
-
- 05 Nov, 2010 1 commit
-
-
Max Kellermann authored
Same as ".m4a".
-
- 04 Nov, 2010 1 commit
-
-
Max Kellermann authored
.. instead of av_get_bits_per_sample_format(). The SampleFormat enum value is authoritative.
-
- 27 Oct, 2010 2 commits
-
-
Alder Hornbridge authored
-
Alder Hornbridge authored
-
- 14 Oct, 2010 1 commit
-
-
Tony Miller authored
-
- 25 Sep, 2010 1 commit
-
-
Thomas Jansen authored
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
-
- 23 Sep, 2010 2 commits
-
-
Max Kellermann authored
According to the mantis bug report 2847, there are several possible variations of the "album artist" tag: - "album artist" - "album_artist" - "albumartist" This patch adds support for the latter two.
-
Max Kellermann authored
Be consistent with the rest of MPD, and don't use the non-portable header "malloc.h".
-
- 23 Jul, 2010 1 commit
-
-
Rasi authored
-
- 20 Jul, 2010 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
RVA2 tags only store the "gain" value, there is no "peak" attribute.
-
Max Kellermann authored
-
Max Kellermann authored
In libwildmidi 0.2.3, the function WildMidi_SampledSeek() was removed, without changing the SO name. This patch adds an autoconf check for that function. Fall back to WildMidi_FastSeek() if WildMidi_SampledSeek() is not available anymore.
-
- 19 Jul, 2010 2 commits
-
-
Max Kellermann authored
libavformat 0.6 does not pass the original URI pointer to the "open" method, which leads to a crash because MPD was using a dirty hack to pass a pointer to that method. This patch switches to av_open_input_stream() with a custom ByteIOContext class, instead of doing the URI string hack with av_open_input_file(). Loosely based on a patch from Jasper St. Pierre.
-
Max Kellermann authored
Use the libavformat function av_probe_input_format() to probe the AVInputFormat, instead of letting av_open_input_file() do it implicitly. We will switch to av_open_input_stream() very soon, which does not have the probing code. Loosely based on a patch from Jasper St. Pierre.
-
- 12 Jul, 2010 2 commits
-
-
Anton Khirnov authored
in some formats, e.g. vorbis, the metadata is stored per-stream.
-
Anton Khirnov authored
-
- 30 Jun, 2010 8 commits
-
-
Max Kellermann authored
libavformat 0.6 does not pass the original URI pointer to the "open" method, which leads to a crash because MPD was using a dirty hack to pass a pointer to that method. This patch switches to av_open_input_stream() with a custom ByteIOContext class, instead of doing the URI string hack with av_open_input_file(). Loosely based on a patch from Jasper St. Pierre.
-
Max Kellermann authored
Use the libavformat function av_probe_input_format() to probe the AVInputFormat, instead of letting av_open_input_file() do it implicitly. We will switch to av_open_input_stream() very soon, which does not have the probing code. Loosely based on a patch from Jasper St. Pierre.
-
Max Kellermann authored
Free the string allocated by decoder_get_uri().
-
Max Kellermann authored
This fixes a theoretical crash, which has never occurred in practice.
-
Anton Khirnov authored
-
Max Kellermann authored
Fix a memory leak in some code paths.
-
Max Kellermann authored
We already supported "albumartist", but it seems some folks also use "album artist" (with a space).
-
Max Kellermann authored
The return value of Player_LoadTitle() is allocated with malloc(), and must be freed by the caller.
-