- 21 Aug, 2014 9 commits
-
-
Max Kellermann authored
Read one block at a time. This discards the last partial block, which cannot be interleaved anyway. Previously, uninitialised memory was used to interleave the last block, which generated some noise.
-
Max Kellermann authored
Convert into a second buffer that gets passed to decoder_data() without copying back to the first buffer.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This allows the compiler to discard buffer contents between two function calls.
-
Max Kellermann authored
-
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.
-
- 20 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 19 Aug, 2014 27 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Reduce header dependencies.
-
Max Kellermann authored
Seeking on NFS or SMB is cheap. Actually, only HTTP streams are expensive to seek. This enables a few features on NFS/SMB files, for example Ogg tags.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Has been moved to class InputStream long ago.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Since we already checked InputStream::KnownSize(), we can assume that GetSize() returns a valid value, and this check is obsolete.
-
Max Kellermann authored
Replace the bogus GetSize() check and call GetSize() only when necessary.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Variable-length arrays are not allowed in C++.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
If the offset is out of range, the seek will simply fail. Not a problem.
-
Max Kellermann authored
-
Max Kellermann authored
The plugin assumes that the size is known, but does not verify it at runtime.
-
- 18 Aug, 2014 3 commits
-
-
Max Kellermann authored
Generate more detailed error messages.
-
Max Kellermann authored
Eliminate duplicate definition (in input plugin and decoder plugin).
-
Max Kellermann authored
-