- 21 Aug, 2014 2 commits
-
-
Max Kellermann authored
Same bug as in the previous commit.
-
Max Kellermann authored
When the data chunk size is not a multiple of the frame size, the last partial frame lead to an endless loop. We fix this by checking chunk_sze>=frame instead of chunk_sze>0. This way, the partial frame is simply skipped.
-
- 13 Aug, 2014 1 commit
-
-
Max Kellermann authored
In version 11, both ffmpeg and libav deprecate AVCodecContext::codec_name. The function avcodec_descriptor_get() has been introduced long ago.
-
- 12 Jul, 2014 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Failure to read another chunk header is not fatal. Continue to read metadata.
-
Max Kellermann authored
-
- 11 Jul, 2014 15 commits
-
-
Max Kellermann authored
Previously, MPD tried to slurp the whole song file, count the number of frames and calculate the song duration from that. That however is extremely expensive for remote files, and will delay playback for a long time. Workaround: check only the first 128 frames and try to extrapolate from here. Fixes Mantis ticket 0004035.
-
Max Kellermann authored
-
Max Kellermann authored
Eliminate more duplicate code.
-
Max Kellermann authored
Don't bother to check for ADIF just because the stream is not seekable.
-
Max Kellermann authored
Merge some duplicate code.
-
Max Kellermann authored
Eliminate some overhead when the caller doesn't need the buffer.
-
Max Kellermann authored
-
Max Kellermann authored
Checking the integer is faster, easier and more reliable.
-
Max Kellermann authored
-
Max Kellermann authored
.. instead of declaring a new constant.
-
Max Kellermann authored
Replaces the loop in sndfile_vio_read(), eliminating duplicate and fragile code.
-
Max Kellermann authored
.. instead of InputStream::LockRead(). The former is cancellable.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 09 Jul, 2014 7 commits
-
-
Joff authored
Addresses Mantis ticket 0004015. [mk: use decoder_read_full() only when needed, and a few formal changes]
-
Max Kellermann authored
Works around WAV stream playback bug, because libaudiofile does not like partial reads (Mantis 0004028).
-
Max Kellermann authored
Move code from the "mad" plugin.
-
Max Kellermann authored
Move code from the "mad" plugin.
-
Max Kellermann authored
.. instead of InputStream::LockRead(). The former is cancellable.
-
Gustavo Zacarias authored
Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar>
-
Gustavo Zacarias authored
Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar>
-
- 29 Apr, 2014 1 commit
-
-
Max Kellermann authored
Fixes missing song length on high-latency Opus files. According to tests with 320 kbit/s opus files with 60ms packets, we need to skip up to 29 kB.
-
- 09 Apr, 2014 1 commit
-
-
Marcello Desantis authored
-
- 18 Mar, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This corrects a major mistake from commit 724a59aa - there was one small thing that commit was supposed to do, and it failed. AV_TIME_BASE is not a seek flag.
-
- 06 Mar, 2014 1 commit
-
-
Max Kellermann authored
-
- 15 Jan, 2014 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Fixes potential nullptr dereference.
-
- 08 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 20 Dec, 2013 1 commit
-
-
Steven O'Brien authored
-
- 27 Nov, 2013 1 commit
-
-
Max Kellermann authored
-