- remove obsolete references to rpm, debian, macos builds
- put the tarball build instructions before the svn ones.
- more markup-ish headers
- misc other cleanup
svn path=/trunk/ogg/; revision=18048
It's been a decade since MacOS X was released. I doubt these
Codewarrior project files are seeing much use, and in any case
libogg is straightforward to build.
svn path=/trunk/ogg/; revision=18045
The xz format is faster and more efficient. This change bumps the
automake requirement to 1.11, the first version with built-in
support. We leave the old 1.6 AUTOMAKE_OPTIONS line commented
out for convenience when building with an older automake.
svn path=/trunk/ogg/; revision=17615
int types might come from one of three different includes on a modern
system. Try, if possible, to use types that don't rely on any of the
includes such that the oldest systems have more of a fighting chance.
Addresses Trac #849
svn path=/trunk/ogg/; revision=17566
The ogg_packet structure is public, and contains no 'internal' data,
except in that decoding functions allocate and own the returned buffer.
When a client creates packets to pass into the encoding functions it
is instead the client which owns the buffer. Nevertheless,
ogg_packet_clear() can be useful if the client is using a simple
allocation strategy. I wanted to be clear that it was appropriate
to use this call for such packets.
svn path=/trunk/ogg/; revision=17497
extension, which is not supported by MSVC.
We don't actually need that generality, though, so revert to simply using
LONG_MAX instead.
svn path=/trunk/ogg/; revision=17287
GCC optimizes out the overflow check due to the overflow check reyling on overflow;
reimplement using type-based TYPE_MAX macro
Correct an accidental assignment-during-check that wasn't a bug, but was
semantically incorrect and rightly triggered a compilation warning.
svn path=/trunk/ogg/; revision=17270
if(b->endbyte*8+bits>b->storage*8)goto overflow;
Eliminate the possibility of b->endbyte overflow on buffer storage near or
exactly at long storage limit; corrections made to both read and write.
Also, harden both read and write against requesting <0 or >32 read/write. In both
case, the packer is put into 'error' state.
svn path=/trunk/ogg/; revision=17268
The oggpack_* calls expect an unsigned char *, but the self-test
code for convenience uses string literals for some of the test
vectors. This generates a warning on gcc and clang, at least.
We silence the warning by casting the literals to (unsigned char *).
svn path=/trunk/ogg/; revision=17063
Correct one last misleading caption in the stream documentation, pending
the more complete examples rewrite langing post 1.2.0
svn path=/trunk/ogg/; revision=17033