- 18 Mar, 2019 1 commit
-
-
Max Kellermann authored
-
- 13 Mar, 2019 1 commit
-
-
Max Kellermann authored
-
- 12 Mar, 2019 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Don't catch and log exceptions. Let the caller handle the error.
-
Max Kellermann authored
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 04 Nov, 2018 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
`AVCodecParameters` contains values from the codec detected by avformat_find_stream_info(), but after avcodec_open2(), a different codec might be selected with a different `AVSampleFormat`. This leads to misinterpretation of data returned from FFmpeg, leading to random noise or silence. This was observed with FFmpeg 4.0.2 and a TS container file containing MP2. A mp3-float codec was detected returning `AV_SAMPLE_FMT_FLTP`, but finally the `mpegaudiodec_fixed.c` was used, returning `AV_SAMPLE_FMT_S16`. By using the audio format from `AVCodecContext`, we ensure that MPD and FFmpeg always agree on the actual audio format in the buffer. This removes the FFmpeg bug workaround from commit e1b032cb which I assume is obsolete after 7 years. Fixes #380
-
Max Kellermann authored
-
Max Kellermann authored
Drop some compatibility code.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 09 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 02 Aug, 2018 1 commit
-
-
Max Kellermann authored
This is the version in Debian Jessie (oldstable).
-
- 24 Jul, 2018 1 commit
-
-
Max Kellermann authored
This is kind of a revert of commit b2e3c075, which is not any longer necessary since commit 0dd4b52b removed the last call to `av_open_input_stream()`.
-
- 07 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 21 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 19 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 12 Nov, 2017 1 commit
-
-
Max Kellermann authored
Work around -Werror=catch-value.
-
- 10 Nov, 2017 1 commit
-
-
Max Kellermann authored
-
- 18 Sep, 2017 1 commit
-
-
Charlie Waters authored
ffmpeg plugin: when decoded stream duration is unavailable, attempt fallback to container duration (fix MusicPlayerDaemon/MPD#110)
-
- 03 Jun, 2017 1 commit
-
-
Jörg Raftopoulos authored
Add ffmpeg decoder support for *.adx files (Sega game console) Closes #60
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 08 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 10 Jan, 2017 1 commit
-
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 13 Dec, 2016 1 commit
-
-
Max Kellermann authored
From the avformat_open_input() API documentation: "Note that a user-supplied AVFormatContext will be freed on failure." https://bugs.musicpd.org/view.php?id=4607
-
- 18 Nov, 2016 4 commits
-
-
Max Kellermann authored
Replaces decoder_data() and others.
-
Max Kellermann authored
-
Max Kellermann authored
Replaces decoder_initialized().
-
Max Kellermann authored
Prepare for a Decoder API redesign based on an abstract class with virtual methods.
-
- 10 Nov, 2016 1 commit
-
-
Max Kellermann authored
-
- 31 Oct, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Oct, 2016 1 commit
-
-
Max Kellermann authored
An empty packet would be a command for avcodec_send_packet() to finalize the codec. Fixes https://bugs.musicpd.org/view.php?id=4588
-
- 16 Sep, 2016 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 23 Aug, 2016 2 commits
-
-
Max Kellermann authored
This function exists since FFmpeg 3.1. Fix a build failure with FFmpeg 3.0.
-
Max Kellermann authored
These bug reports describe problems with some FFmpeg codecs: https://bugs.musicpd.org/view.php?id=4564 https://bugs.musicpd.org/view.php?id=4568 https://bugs.musicpd.org/view.php?id=4572 According to the FFmpeg bug tracker, a call to avcodec_parameters_to_context() is required after avcodec_alloc_context3(): https://trac.ffmpeg.org/ticket/5781 This requirement was previously undocumented.
-
- 02 Aug, 2016 1 commit
-
-
Max Kellermann authored
Turns out the libavcodec version numbers are not linear; the feature was added in FFmpeg 3.1 commit 998e1b8, libavcodec 57.14.0; but FFmpeg 3.0 has version 57.48.101. Ouch!
-