Commit Graph

561 Commits

Author SHA1 Message Date
Gregory Maxwell
237a3081dc Add ogg_stream_flush_fill to compliment ogg_stream_pageout_fill because ogg_stream_flush will produce multiple pages when >4096 bytes and >4 packets are available.
svn path=/trunk/ogg/; revision=18044
2011-08-01 17:55:20 +00:00
Cristian Adam
0664bdc1dd Fixed project configuration which referenced two CRT versions in output binaries.
svn path=/trunk/ogg/; revision=17773
2011-01-09 21:39:12 +00:00
Monty
23d9360b46 Update CHANGES for release
svn path=/trunk/ogg/; revision=17727
2010-12-07 10:27:43 +00:00
Monty
294179035a Bump version for point release
svn path=/trunk/ogg/; revision=17726
2010-12-07 09:51:15 +00:00
Monty
bf5bfad5fa Change 'MacOS X' to 'Mac OS X' in the README
svn path=/trunk/ogg/; revision=17713
2010-12-03 17:12:39 +00:00
Monty
1ded5b6c01 Move BEOS to using standard POSIX types from inttypes.h
svn path=/trunk/ogg/; revision=17712
2010-12-03 17:10:02 +00:00
Gregory Maxwell
171acf3878 Fix ogg_stream_pageout_fill documentation bug pointed out by David Richards.
svn path=/trunk/ogg/; revision=17693
2010-12-01 04:10:12 +00:00
Cristian Adam
c3e079b055 Migrated main development to Visual Studio 2008 (which has a better integration with Windows 7).
Modified project files to have Windows CE debug builds compilable and runnable.


svn path=/trunk/ogg/; revision=17638
2010-11-20 18:15:25 +00:00
Ralph Giles
b5a55a4091 Prefer dist-xz to dist-bzip.
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
2010-11-02 21:35:58 +00:00
Monty
f8ce071e10 *partial* fix to Trac #1747
svn path=/trunk/ogg/; revision=17608
2010-11-02 15:26:18 +00:00
Monty
02b0c4c09c Add dist-bzip target to Ogg build
svn path=/trunk/ogg/; revision=17605
2010-11-02 14:59:08 +00:00
Monty
a1ee996cd7 revert r17124 to match reversion of pagespill packet threshold from 8 to
4


svn path=/trunk/ogg/; revision=17592
2010-11-01 20:27:54 +00:00
Monty
e036dd0f36 Update CHANGES, configure.in and .pc files toward release
svn path=/trunk/ogg/; revision=17588
2010-11-01 20:14:38 +00:00
Monty
4420e1022e add ogg_stream_pageout_fill to libogg docs
Update release version on libogg docs



svn path=/trunk/ogg/; revision=17580
2010-10-29 20:46:42 +00:00
Monty
7cf0630287 Revert default page spill from 8 to 4 packets.
svn path=/trunk/ogg/; revision=17579
2010-10-29 18:57:16 +00:00
Monty
80961b11a9 apply comment spell fix patch from Trac #1623
svn path=/trunk/ogg/; revision=17571
2010-10-27 13:28:20 +00:00
Monty
d791323736 remove in-tree debian spec files
svn path=/trunk/ogg/; revision=17568
2010-10-26 11:20:48 +00:00
Monty
848b6d8898 Remove the ancient -mv8 flag from SPARC gcc builds
Trac #1459


svn path=/trunk/ogg/; revision=17567
2010-10-26 11:01:30 +00:00
Monty
8bcc597b9c Update/modernize the configure type checking, account for the fact that
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
2010-10-26 10:56:31 +00:00
Ralph Giles
779d3f67a2 Fix another cut-and-paste error in the documentation.
svn path=/trunk/ogg/; revision=17498
2010-10-09 16:29:16 +00:00
Ralph Giles
06a823f418 Explicitly document what ogg_packet_clear() does.
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
2010-10-09 05:51:25 +00:00
Ralph Giles
8f269ea58e Fix a cut-and-paste error in the documentation.
svn path=/trunk/ogg/; revision=17496
2010-10-09 05:29:32 +00:00
Cristian Adam
7d1415fa2d Updated Visual Studio project files.
svn path=/trunk/ogg/; revision=17452
2010-09-23 21:50:57 +00:00
Cristian Adam
450aa6e201 Added Visual Studiop 2010 project files.
svn path=/trunk/ogg/; revision=17409
2010-09-21 19:04:31 +00:00
Tim Terriberry
6e1740c292 The generic TYPE_MAX macros introduced in r17270 require the gcc typeof
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
2010-06-10 13:42:06 +00:00
Monty
e73a2c97ab Bump version for changes in SVN
svn path=/trunk/ogg/; revision=17271
2010-06-04 06:41:11 +00:00
Monty
67133192af Two cleanups of buffer LONG_MAX overflow hardening:
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
2010-06-04 06:01:33 +00:00
Monty
e64842ca0c Correct packet accumulation in _packetout to accumulate a full long of bytes,
mathing the ogg_packet declaration.


svn path=/trunk/ogg/; revision=17269
2010-06-04 05:39:45 +00:00
Monty
598fb9e787 Complete code review on the pattern:
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
2010-06-04 05:19:12 +00:00
Monty
a3b681b589 add an anchor
svn path=/trunk/ogg/; revision=17179
2010-04-27 14:32:05 +00:00
Monty
351cc5ea09 Doc tweaks; clarify/make more consistent the Index reasoning.
svn path=/trunk/ogg/; revision=17175
2010-04-26 07:26:57 +00:00
Monty
7df26aa6ce Add another diagram (elementary multiplexing)
svn path=/trunk/ogg/; revision=17135
2010-04-06 17:50:50 +00:00
Gregory Maxwell
edc5330510 Update make check to work properly with the new page spill heuristic from r17098
svn path=/trunk/ogg/; revision=17124
2010-04-05 03:31:02 +00:00
Monty
7704fc99ce Greg asserts interrupt
svn path=/trunk/ogg/; revision=17101
2010-03-30 01:53:19 +00:00
Monty
3f00a03e9c More doccing, commit SVG files
svn path=/trunk/ogg/; revision=17100
2010-03-30 01:52:14 +00:00
Gregory Maxwell
28ec47ea1a Removed the non-normative comment about 4kB pages. The observation of typical behavior isn't especially useful here, and at least one person has interpreted the comment to imply some kind of limit. Replace the text with something less likely to be construed as a limit.
svn path=/trunk/ogg/; revision=17099
2010-03-30 01:49:30 +00:00
Gregory Maxwell
eb2fce499c Add a 'ogg_stream_pageout_fill' function to allow smart applications with delay sensitive flushing to produce big pages. Increase the default minimum fill amount to 8 based on latency measurements with actual files. These changes may be controversial but since we've recently had a release I thought there would be no harm in getting them into the repository for discussion.
svn path=/trunk/ogg/; revision=17098
2010-03-29 05:35:11 +00:00
Monty
88f38d5780 Stupid error in figure...
svn path=/trunk/ogg/; revision=17096
2010-03-28 10:18:53 +00:00
Monty
2fd1223c49 Add two new figures illustrating packets, pages, logical bitstreams and
physical bitstreams.


svn path=/trunk/ogg/; revision=17095
2010-03-28 10:15:49 +00:00
Ralph Giles
cde11fa3d8 Turn on all gcc warnings in the Linux release build, as it is
for other platforms.

svn path=/trunk/ogg/; revision=17064
2010-03-26 03:38:31 +00:00
Ralph Giles
5d64520468 Cast away a char pointer signedness warning.
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
2010-03-26 03:38:04 +00:00
Ralph Giles
9f333772fe Fix int vs long issues with the framing self-test code.
Warnings reported by clang (the llvm C compiler).

svn path=/trunk/ogg/; revision=17060
2010-03-26 03:19:12 +00:00
Monty
3922fa4b59 Update make check to work properly with the new page spill heuristic
svn path=/trunk/ogg/; revision=17039
2010-03-26 00:34:54 +00:00
Monty
add135055f Update dates on libogg documentation
svn path=/trunk/ogg/; revision=17034
2010-03-25 20:44:59 +00:00
Monty
f643a4cc2c Update CHANGES file
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
2010-03-25 20:28:17 +00:00
Monty
f4c6495198 Bump release versioning to reflect new behavior
svn path=/trunk/ogg/; revision=16994
2010-03-21 23:26:28 +00:00
Monty
67aafdb457 Modify default page flushing behavior;
1) Don't unneccessarily span pages.
2) Unless necessary, don't flush pages if there are less than four packets on
   them; this expands page size to reduce unneccessary overhead if incoming
   packets are large.


svn path=/trunk/ogg/; revision=16993
2010-03-21 23:15:46 +00:00
Monty
a1f833eee5 clarify an analogy in demultiplexing
svn path=/trunk/ogg/; revision=16992
2010-03-20 06:59:29 +00:00
Monty
8528ebe3ea Substantial expansion of Ogg container overview document; still requires filling in of several
references by not-yet-present examples.


svn path=/trunk/ogg/; revision=16991
2010-03-20 06:32:37 +00:00
Monty
92018068d3 Update Ogg document titles towards doc update.
svn path=/trunk/ogg/; revision=16988
2010-03-19 17:13:09 +00:00