- 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 5 commits
-
-
Max Kellermann authored
Generate more detailed error messages.
-
Max Kellermann authored
Eliminate duplicate definition (in input plugin and decoder plugin).
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 16 Aug, 2014 8 commits
-
-
Jurgen Kramer authored
-
Jurgen Kramer authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
François Revol authored
Again, POSIX says strcasecmp is not in string.h.
-
François Revol authored
According to POSIX and both OSX and Linux manpages, strcasecmp comes from strings.h, not string.h. Most OSes also have them available in string.h, but we just fixed the headers on Haiku and it now only provides them in strings.h. We might want to fall back to string.h for other OSes though... cf. http://pubs.opengroup.org/onlinepubs/009695399/functions/strcasecmp.html http://linux.die.net/man/3/strcasecmp https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/strcasecmp.3.html
-