platform/upstream/libvorbis.git
14 years agoKill off two harmless gcc warnings in vorbisenc.c
Monty [Thu, 25 Mar 2010 05:22:15 +0000 (05:22 +0000)]
Kill off two harmless gcc warnings in vorbisenc.c

svn path=/trunk/vorbis/; revision=17028

14 years agoApply patches from Trac #1638, additional application hardening (not
Monty [Thu, 25 Mar 2010 05:21:20 +0000 (05:21 +0000)]
Apply patches from Trac #1638, additional application hardening (not
bugfixes, but ignoring easy-to-catch cases of improper lib use) and one
more bitstream guard.

svn path=/trunk/vorbis/; revision=17027

14 years ago22kHz setup was using wrong compand mapping; closes Trac #1635
Monty [Thu, 25 Mar 2010 05:00:27 +0000 (05:00 +0000)]
22kHz setup was using wrong compand mapping; closes Trac #1635

svn path=/trunk/vorbis/; revision=17026

14 years agoCorrect bug in 16kHz coupled books similar to the bug that had popped up in
Monty [Thu, 25 Mar 2010 04:56:56 +0000 (04:56 +0000)]
Correct bug in 16kHz coupled books similar to the bug that had popped up in
uncoupled output.  It would cause efficiency loss and unstable tones in
high-rate encoding (q5 and higher).

svn path=/trunk/vorbis/; revision=17025

14 years agoTest 1 through 8 channels, all quality levels, all main sample rates. This caught...
Monty [Thu, 25 Mar 2010 04:45:53 +0000 (04:45 +0000)]
Test 1 through 8 channels, all quality levels, all main sample rates.  This caught another codebook error in the
16kHz books

svn path=/trunk/vorbis/; revision=17024

14 years agoMake the 'make check' cover all the uncoupled codebooks
Monty [Thu, 25 Mar 2010 03:58:42 +0000 (03:58 +0000)]
Make the 'make check' cover all the uncoupled codebooks

svn path=/trunk/vorbis/; revision=17023

14 years agoCorrect a longstanding bug in the 16u2 codebook; the bug was harmless (though it...
Monty [Thu, 25 Mar 2010 03:45:42 +0000 (03:45 +0000)]
Correct a longstanding bug in the 16u2 codebook; the bug was harmless (though it hurt efficiency) in the old
coupling/quant code, but it causes corrupt output in the new code; fixed.

Update frameview code for recent Tk

svn path=/trunk/vorbis/; revision=17022

14 years agoSpelling fixes in include docs
Monty [Wed, 24 Mar 2010 09:29:41 +0000 (09:29 +0000)]
Spelling fixes in include docs
Closes #1624

svn path=/trunk/vorbis/; revision=17021

14 years agoOn powerpc-unknown-linux-gnuspe SPE is used for floating point.
Monty [Wed, 24 Mar 2010 09:27:43 +0000 (09:27 +0000)]
On powerpc-unknown-linux-gnuspe SPE is used for floating point.
-mcpu=970 disables the usage of the SPU unit and enables the "normal"
floating
point unit. This results either in slow code (kernel floating point
emulation)
or in SIGILL.

Closes #1614

svn path=/trunk/vorbis/; revision=17020

14 years agoCorrect grammar in CHANGES file.
Monty [Wed, 24 Mar 2010 09:25:23 +0000 (09:25 +0000)]
Correct grammar in CHANGES file.
Closes #1584

svn path=/trunk/vorbis/; revision=17019

14 years agoAdd patch to disable building examples by default, test Makefile.am fix
Monty [Wed, 24 Mar 2010 09:08:33 +0000 (09:08 +0000)]
Add patch to disable building examples by default, test Makefile.am fix
Closes Trac #1571

svn path=/trunk/vorbis/; revision=17018

14 years agoVorbisfile was always reading very large chunks; a good idea for
Monty [Wed, 24 Mar 2010 07:37:36 +0000 (07:37 +0000)]
Vorbisfile was always reading very large chunks; a good idea for
seeking/local file playback, a very bad idea for low-rate streaming.

The large chunksize wasn't needed for read performance, just
seek-and-scrub performance.  So add a seperate smaller read size.

svn path=/trunk/vorbis/; revision=17012

14 years agoAdd ectl to disable/reenable channel coupling
Monty [Tue, 23 Mar 2010 03:44:44 +0000 (03:44 +0000)]
Add ectl to disable/reenable channel coupling

svn path=/trunk/vorbis/; revision=16995

14 years agoGet the management numbers for 5.1 a little closer to 'in the ballpark'.
Monty [Thu, 11 Mar 2010 07:41:42 +0000 (07:41 +0000)]
Get the management numbers for 5.1 a little closer to 'in the ballpark'.

svn path=/trunk/vorbis/; revision=16963

14 years agoCommit a first cut of 5.1 tuning.
Monty [Thu, 11 Mar 2010 07:30:34 +0000 (07:30 +0000)]
Commit a first cut of 5.1 tuning.

One last thing to try, aside from a longer training run, would be to use pairwise L/R
codebooks on uncoupled data in higher q modes, where the 'stereo abuse' strategy worked well,
probably due more to codebooks backend than the stereo coupling pairs.

svn path=/trunk/vorbis/; revision=16962

14 years agoAdd new book geenration descriptions
Monty [Thu, 11 Mar 2010 07:15:40 +0000 (07:15 +0000)]
Add new book geenration descriptions
Remove more dead utils

svn path=/trunk/vorbis/; revision=16961

14 years agoUpdate the VQ tools to pared down codebook abstraction.
Monty [Wed, 10 Mar 2010 16:03:11 +0000 (16:03 +0000)]
Update the VQ tools to pared down codebook abstraction.
Eliminate long unused tools; they're still in SVN.

svn path=/trunk/vorbis/; revision=16959

14 years agoMissed an errant useless float var in encode-side codebook lookup
Monty [Tue, 9 Mar 2010 18:45:14 +0000 (18:45 +0000)]
Missed an errant useless float var in encode-side codebook lookup

svn path=/trunk/vorbis/; revision=16958

14 years agoExtend residue2 setup code to work with non-stereo bundles
Monty [Tue, 9 Mar 2010 17:13:11 +0000 (17:13 +0000)]
Extend residue2 setup code to work with non-stereo bundles

svn path=/trunk/vorbis/; revision=16957

14 years agoAdd some unneccessary but potentially useful bulletproofing to allow use of versized...
Monty [Tue, 9 Mar 2010 16:05:44 +0000 (16:05 +0000)]
Add some unneccessary but potentially useful bulletproofing to allow use of versized floors in
floor1 on encode side (already worked properly decode-side).

svn path=/trunk/vorbis/; revision=16956

14 years agoCorrect numerous small bugs in new coupling engine
Monty [Thu, 4 Mar 2010 18:21:43 +0000 (18:21 +0000)]
Correct numerous small bugs in new coupling engine

svn path=/trunk/vorbis/; revision=16950

14 years agoNew noise norm, coupling and quant code necessary for depth>1 coupling. Also substan...
Monty [Wed, 3 Mar 2010 16:12:40 +0000 (16:12 +0000)]
New noise norm, coupling and quant code necessary for depth>1 coupling.  Also substantially
cleans up the old code for mono/stereo usage.

svn path=/trunk/vorbis/; revision=16946

14 years agoCorrect an error in the integer work buffer allocation
Monty [Mon, 1 Mar 2010 11:33:57 +0000 (11:33 +0000)]
Correct an error in the integer work buffer allocation

svn path=/trunk/vorbis/; revision=16941

14 years agoMove partition calssification metrics to integer as the actual
Monty [Mon, 1 Mar 2010 11:24:39 +0000 (11:24 +0000)]
Move partition calssification metrics to integer as the actual
operations were integer anyway.

svn path=/trunk/vorbis/; revision=16940

14 years agoSome significant encoder-side codebook cleanup toward new surround code
Monty [Mon, 1 Mar 2010 08:38:14 +0000 (08:38 +0000)]
Some significant encoder-side codebook cleanup toward new surround code
landing.

This is primarily elimination of dead code and useless float vectors
that are of no use given the current encoder codebook strategy.

svn path=/trunk/vorbis/; revision=16939

14 years agoCorrect a setup 'bug' that doesn't affect anything in current encoder, but could...
Monty [Fri, 19 Feb 2010 02:49:25 +0000 (02:49 +0000)]
Correct a setup 'bug' that doesn't affect anything in current encoder, but could certainly be
annoying when surround lands.

svn path=/trunk/vorbis/; revision=16921

14 years agoRemoved Release_SSE and Release SSE2 configurations. Changed Windows Mobile 5.0 confi...
Cristian Adam [Thu, 18 Feb 2010 17:10:47 +0000 (17:10 +0000)]
Removed Release_SSE and Release SSE2 configurations. Changed Windows Mobile 5.0 configuration from "Pocket PC SDK 2 (ARMV4I)" to "Pocket PC SDK (ARMV4I)", version "2" was generated by versions of Windows Mobile 5.0 SDK which are no longer available on MSDN.

svn path=/trunk/vorbis/; revision=16912

14 years agonot closing the name tag freaks out the style sheet
Monty [Wed, 17 Feb 2010 18:52:33 +0000 (18:52 +0000)]
not closing the name tag freaks out the style sheet

svn path=/trunk/vorbis/; revision=16907

14 years agoAdd a useful anchor
Monty [Wed, 17 Feb 2010 18:48:21 +0000 (18:48 +0000)]
Add a useful anchor

svn path=/trunk/vorbis/; revision=16906

14 years agoThe rounding can cause a surprising amount of trouble in book creation.
Monty [Sat, 13 Feb 2010 19:26:42 +0000 (19:26 +0000)]
The rounding can cause a surprising amount of trouble in book creation.

svn path=/trunk/vorbis/; revision=16897

14 years agoCorrect some amount of minor bitrot in the codebook training code
Monty [Sat, 13 Feb 2010 06:47:54 +0000 (06:47 +0000)]
Correct some amount of minor bitrot in the codebook training code

svn path=/trunk/vorbis/; revision=16895

14 years agoSome minor setup code rearrangement/cleanup toward 5.1/7.1 additions
Monty [Fri, 12 Feb 2010 20:32:12 +0000 (20:32 +0000)]
Some minor setup code rearrangement/cleanup toward 5.1/7.1 additions

svn path=/trunk/vorbis/; revision=16894

14 years agoCommit channel ordering clarifications to libvorbisfile doc
Monty [Tue, 26 Jan 2010 02:40:41 +0000 (02:40 +0000)]
Commit channel ordering clarifications to libvorbisfile doc

svn path=/trunk/vorbis/; revision=16805

14 years agoAdd minor clarifications to channel ordering docs
Monty [Tue, 26 Jan 2010 02:28:40 +0000 (02:28 +0000)]
Add minor clarifications to channel ordering docs

svn path=/trunk/vorbis/; revision=16804

14 years agoRemove a misleading comment about VBR quality request range.
Ralph Giles [Wed, 20 Jan 2010 01:42:54 +0000 (01:42 +0000)]
Remove a misleading comment about VBR quality request range.

The documentation says the range is -0.1 to 1.0, but these comments
started the range at 0.0. Against expectations, it looks like the
documentation is correct.

Patch from Douglas Bagnall <douglas@paradise.net.nz>.

svn path=/trunk/vorbis/; revision=16790

14 years agoShift vorbisenc API docs into doxygen 2/2 (add doxygen)
Ralph Giles [Wed, 20 Jan 2010 01:41:23 +0000 (01:41 +0000)]
Shift vorbisenc API docs into doxygen 2/2 (add doxygen)

Until now the libvorbisenc API has been documented via static html
pages in doc/vorbisenc/.  This patch moves that documentation into the
vorbisenc.h header.

For the most part, the text was copied unchanged, except where doxygen
was better able to say something in its own way.  For example, the
\deprecated tag changed the format of deprecation messages.  A few
trivial misspelling's were fixed, including some that doxygen caught.
Some of the narrative flow of the original was lost, as doxygen
reorders documentation according to its own plan, so I changed a few
phrases on account of this loss of context.

Some ordinary comments in the header were obviated by the doxygen and
removed.

Neither the overview documentation in overview.html nor the examples
in examples.html are included in the header, nor are the functions
that are exposed by including vorbisenc.h but which are actually
declared in codecs.h.

Patch from Douglas Bagnall <douglas@paradise.net.nz>.

svn path=/trunk/vorbis/; revision=16789

14 years agoShift vorbisenc API docs into doxygen 1/2 (reorder defines)
Ralph Giles [Wed, 20 Jan 2010 01:36:04 +0000 (01:36 +0000)]
Shift vorbisenc API docs into doxygen 1/2 (reorder defines)

In order to group the documentation of the OV_ECTL_* constants used
with vorbis_encode_ctl, their definitions need to be adjacent.

This patch only moves the defines; the next only touches comments.

Patch from Douglas Bagnall <douglas@paradise.net.nz>.

svn path=/trunk/vorbis/; revision=16788

14 years agoset HAVE_DOXYGEN=false in else
j [Fri, 15 Jan 2010 02:40:38 +0000 (02:40 +0000)]
set HAVE_DOXYGEN=false in else

svn path=/trunk/vorbis/; revision=16786

14 years agoDefine the HAVE_DOXYGEN conditional unconditionally so the configure
Ralph Giles [Fri, 15 Jan 2010 02:31:15 +0000 (02:31 +0000)]
Define the HAVE_DOXYGEN conditional unconditionally so the configure
script completes even with --disable-docs.

svn path=/trunk/vorbis/; revision=16785

14 years agoadd doxygen build system
j [Thu, 14 Jan 2010 23:42:27 +0000 (23:42 +0000)]
add doxygen build system

svn path=/trunk/vorbis/; revision=16784

14 years agoAdd official channel ordering/location for 6.1/7.1 surround.
Monty [Thu, 14 Jan 2010 02:34:05 +0000 (02:34 +0000)]
Add official channel ordering/location for 6.1/7.1 surround.

svn path=/trunk/vorbis/; revision=16781

14 years agoCleanup pass on the vorbisenc documentation.
Ralph Giles [Sat, 19 Dec 2009 08:26:06 +0000 (08:26 +0000)]
Cleanup pass on the vorbisenc documentation.

svn path=/trunk/vorbis/; revision=16757

14 years agoAdd rough reference documentation for the main encoding calls.
Ralph Giles [Sat, 19 Dec 2009 07:59:52 +0000 (07:59 +0000)]
Add rough reference documentation for the main encoding calls.

These are a bit rough in that the main calls are declared in codec.h,
and not vorbisenc.h as one might expect for the encoder. Nevertheless
I felt this was helpful to those trying to use the encoder since there
is no 'Programming with libvorbis' documenation at all.

The error return values listed don't entirely match what the code will
actually provide, but they're all good ones to check for anyway.

Note of the new pages have hyperlinked function or structure names.

svn path=/trunk/vorbis/; revision=16756

14 years agoDocumenation fix: functions are in vorbisfile.h, not libvorbisfile.h.
Ralph Giles [Sat, 19 Dec 2009 06:15:44 +0000 (06:15 +0000)]
Documenation fix: functions are in vorbisfile.h, not libvorbisfile.h.

svn path=/trunk/vorbis/; revision=16755

14 years agolinked statically to c runtime for windows mobile.
Cristian Adam [Wed, 25 Nov 2009 23:04:24 +0000 (23:04 +0000)]
linked statically to c runtime for windows mobile.

svn path=/trunk/vorbis/; revision=16724

14 years agoPut in the magic maintainer-mode invocation to configure.ac, otherwise sometimes
Mike Smith [Fri, 13 Nov 2009 22:53:10 +0000 (22:53 +0000)]
Put in the magic maintainer-mode invocation to configure.ac, otherwise sometimes
autotools goes off into a corner and shoots itself.

svn path=/trunk/vorbis/; revision=16701

14 years agoDon't allow ordered codebooks with codeword lengths longer than 32 bits.
Tim Terriberry [Thu, 1 Oct 2009 02:54:22 +0000 (02:54 +0000)]
Don't allow ordered codebooks with codeword lengths longer than 32 bits.

svn path=/trunk/vorbis/; revision=16597

14 years agoChanged the C runtime library to the default option - dynamic runtime library.
Cristian Adam [Tue, 29 Sep 2009 22:46:15 +0000 (22:46 +0000)]
Changed the C runtime library to the default option - dynamic runtime library.

svn path=/trunk/vorbis/; revision=16595

14 years agoadd pkg.m4 to vorbis, that way ./autogen.sh works on systems that dont have pkg-confi...
j [Mon, 28 Sep 2009 16:54:28 +0000 (16:54 +0000)]
add pkg.m4 to vorbis, that way ./autogen.sh works on systems that dont have pkg-config installed

svn path=/trunk/vorbis/; revision=16592

14 years agoModify fix for Trac #1572; some files from the earliest beta
Monty [Sat, 12 Sep 2009 02:09:04 +0000 (02:09 +0000)]
Modify fix for Trac #1572; some files from the earliest beta
accidentally used an oversized phrasebook in res decode; allow these
[technically corrept] files to play.  The attack fix is still
watertight, the check is simply made in a different way.

svn path=/trunk/vorbis/; revision=16552

14 years agoBumped libogg version to 1.1.4 and fixed dynamic compilation because of missing expor...
Cristian Adam [Sat, 25 Jul 2009 22:52:38 +0000 (22:52 +0000)]
Bumped libogg version to 1.1.4 and fixed dynamic compilation because of missing export function.

svn path=/trunk/vorbis/; revision=16335

14 years agoMore extensive / difficult to abuse version of #1573 fix. Makes it abunduntly clear...
Monty [Fri, 24 Jul 2009 01:58:50 +0000 (01:58 +0000)]
More extensive / difficult to abuse version of #1573 fix.  Makes it abunduntly clear that the DSP state is uninitialized.

svn path=/trunk/vorbis/; revision=16330

14 years agoSimilarly check for error in seeking_example
Monty [Fri, 24 Jul 2009 01:53:20 +0000 (01:53 +0000)]
Similarly check for error in seeking_example

svn path=/trunk/vorbis/; revision=16329

14 years agoFix for Trac #1573.
Monty [Fri, 24 Jul 2009 01:51:10 +0000 (01:51 +0000)]
Fix for Trac #1573.

This is two bugs.  The first is that vorbisfile_example.c ignores an
error code and plows ahead blindly if libvorbisfile reports the
current bitstream section is bad (OV_EBADLINK).

The second is that retrying after the error crashes libvorbisfile due
to the unitialized state.

svn path=/trunk/vorbis/; revision=16328

14 years agoCommit fix to Trac #1572; the erroneous setup was being checked for, but not completely.
Monty [Fri, 24 Jul 2009 00:49:25 +0000 (00:49 +0000)]
Commit fix to Trac #1572; the erroneous setup was being checked for, but not completely.

svn path=/trunk/vorbis/; revision=16327

14 years agoEliminate possibility of booklist overflow in res0/1/2 unpacking.
Monty [Fri, 24 Jul 2009 00:06:53 +0000 (00:06 +0000)]
Eliminate possibility of booklist overflow in res0/1/2 unpacking.

svn path=/trunk/vorbis/; revision=16326

14 years agoEliminate a correct but harmless 'unititialized variable' warning from libvorbisfile...
Monty [Fri, 10 Jul 2009 03:19:29 +0000 (03:19 +0000)]
Eliminate a correct but harmless 'unititialized variable' warning from libvorbisfile compile.

svn path=/trunk/vorbis/; revision=16246

14 years agoBump build system versions for release
Monty [Fri, 10 Jul 2009 02:49:31 +0000 (02:49 +0000)]
Bump build system versions for release

Move the OV_EXCLUDE_STATIC_CALLBACKS define up to fix another symbol
warning ala Trac #1560

svn path=/trunk/vorbis/; revision=16243

14 years agoCommit a vorbisfile short-file fix; consists of several fixes to reinitialization...
Monty [Wed, 8 Jul 2009 08:37:34 +0000 (08:37 +0000)]
Commit a vorbisfile short-file fix; consists of several fixes to reinitialization post-seek.  Fixes gentoo BZ# 276594

Important fix for games that use many small sound files; necessary to fix playback for single-audio-page Vorbis files.

svn path=/trunk/vorbis/; revision=16228

14 years agoRemove trailing whitespace
Monty [Wed, 8 Jul 2009 06:58:46 +0000 (06:58 +0000)]
Remove trailing whitespace

svn path=/trunk/vorbis/; revision=16227

14 years agoanalysis output / trailing whitespace cleanup
Monty [Wed, 8 Jul 2009 06:43:49 +0000 (06:43 +0000)]
analysis output / trailing whitespace cleanup

svn path=/trunk/vorbis/; revision=16226

14 years agoTrac #1549; enable slower but higher precision floor 0 LSP code.
Monty [Wed, 8 Jul 2009 06:30:11 +0000 (06:30 +0000)]
Trac #1549; enable slower but higher precision floor 0 LSP code.
Modern CPUs are fast enough to not even notice.

svn path=/trunk/vorbis/; revision=16225

14 years agoapplied Trac #1548
Monty [Wed, 8 Jul 2009 06:24:49 +0000 (06:24 +0000)]
applied Trac #1548

svn path=/trunk/vorbis/; revision=16224

14 years agocorrect FPU control word setting bug (Trac #1547)
Monty [Wed, 8 Jul 2009 06:21:02 +0000 (06:21 +0000)]
correct FPU control word setting bug (Trac #1547)

svn path=/trunk/vorbis/; revision=16223

14 years agoCommit additional hardening to seyup packet decode; some of the checks are redundant...
Monty [Wed, 8 Jul 2009 05:37:18 +0000 (05:37 +0000)]
Commit additional hardening to seyup packet decode; some of the checks are redundant, but possibly a good proof against future changes.

svn path=/trunk/vorbis/; revision=16222

14 years agoFix for Mozilla BZ #501279
Monty [Tue, 7 Jul 2009 23:18:05 +0000 (23:18 +0000)]
Fix for Mozilla BZ #501279

Will need to review/patch Tremor as well, more thorough pattern review
of unpacking in the face of incomplete header packets in progress in
mainline as well.

svn path=/trunk/vorbis/; revision=16218

14 years agoCorrect a potential* comment length sanity check overflow.
Monty [Tue, 7 Jul 2009 22:44:49 +0000 (22:44 +0000)]
Correct a potential* comment length sanity check overflow.

*as defined by the Derf Convention.

svn path=/trunk/vorbis/; revision=16217

14 years agoKick things off with a version bump
Monty [Tue, 7 Jul 2009 22:41:22 +0000 (22:41 +0000)]
Kick things off with a version bump

svn path=/trunk/vorbis/; revision=16216

14 years agoCommit updates to the Vorbis I spec highlighting rejection cases
Monty [Thu, 25 Jun 2009 04:11:27 +0000 (04:11 +0000)]
Commit updates to the Vorbis I spec highlighting rejection cases
fixed in r16181 and 16182.

svn path=/trunk/vorbis/; revision=16183

14 years agoSecond half of fix to Mozilla BZ # 5000254: sanity check the floor 1
Monty [Thu, 25 Jun 2009 03:53:49 +0000 (03:53 +0000)]
Second half of fix to Mozilla BZ # 5000254: sanity check the floor 1
post list to reject files with repeated values that would result in
floor line segments with zero length.

svn path=/trunk/vorbis/; revision=16182

14 years agoFirst half of fix for Mozilla BZ #500254
Monty [Thu, 25 Jun 2009 03:39:41 +0000 (03:39 +0000)]
First half of fix for Mozilla BZ #500254

Residue code was not checking that its partition books were books with
specified/populated value mappings.  Fuzzer twiddled the book table suck that a valid codebook was being swapped out for a codebook with no value mapping.

svn path=/trunk/vorbis/; revision=16181

14 years agoUpdate CHANGES for release
Monty [Tue, 23 Jun 2009 15:59:50 +0000 (15:59 +0000)]
Update CHANGES for release

svn path=/trunk/vorbis/; revision=16168

14 years agoUpdate macosx info.plist
Monty [Tue, 23 Jun 2009 15:37:48 +0000 (15:37 +0000)]
Update macosx info.plist

svn path=/trunk/vorbis/; revision=16162

14 years agoOops, missed version update in configure.ac
Monty [Tue, 23 Jun 2009 15:29:56 +0000 (15:29 +0000)]
Oops, missed version update in configure.ac

svn path=/trunk/vorbis/; revision=16157

14 years agoBump lib version for full release.
Monty [Tue, 23 Jun 2009 15:26:54 +0000 (15:26 +0000)]
Bump lib version for full release.

svn path=/trunk/vorbis/; revision=16155

15 years agoBump versions for release candidate. This time for real.
Monty [Wed, 3 Jun 2009 05:10:49 +0000 (05:10 +0000)]
Bump versions for release candidate.  This time for real.

svn path=/trunk/vorbis/; revision=16077

15 years agoHandle the case of single-entry codebooks; this had been broken accidentally in earli...
Monty [Tue, 2 Jun 2009 23:26:24 +0000 (23:26 +0000)]
Handle the case of single-entry codebooks; this had been broken accidentally in earlier security fixes.  Resolves GNOME 582942, thanks for the additional file to add to regression testing.

svn path=/trunk/vorbis/; revision=16073

15 years agoVorbis spec tex file patch from Max Horn
Monty [Wed, 27 May 2009 21:13:14 +0000 (21:13 +0000)]
Vorbis spec tex file patch from Max Horn
resolves bug #1541

svn path=/trunk/vorbis/; revision=16055

15 years agoglobal replaced all tabs with whitespaces in the source to end some of
Monty [Tue, 26 May 2009 21:10:58 +0000 (21:10 +0000)]
global replaced all tabs with whitespaces in the source to end some of
the ongoing formatting silliness.

...with apologies to the havoc this will wreak on svn blame being useful.

svn path=/trunk/vorbis/; revision=16037

15 years agoBump vendor string for 1.2.2 rc 1
Monty [Thu, 14 May 2009 21:48:06 +0000 (21:48 +0000)]
Bump vendor string for 1.2.2 rc 1

svn path=/trunk/vorbis/; revision=16006

15 years agoRemove obsolete/unsupported MS build targets to avoid sucking unsuspecting users...
Monty [Thu, 14 May 2009 19:56:55 +0000 (19:56 +0000)]
Remove obsolete/unsupported MS build targets to avoid sucking unsuspecting users into a tarpit.

svn path=/trunk/vorbis/; revision=16000

15 years agoFix some comment typos and spacing.
Ralph Giles [Tue, 12 May 2009 16:11:53 +0000 (16:11 +0000)]
Fix some comment typos and spacing.

svn path=/trunk/vorbis/; revision=15996

15 years agoRemoved WholeProgramOptimization setting from static library project.
Cristian Adam [Fri, 1 May 2009 11:56:03 +0000 (11:56 +0000)]
Removed WholeProgramOptimization setting from static library project.

svn path=/trunk/vorbis/; revision=15975

15 years agowrapped vorbisfile.h static callbacks in #ifndef
Monty [Mon, 27 Apr 2009 22:12:58 +0000 (22:12 +0000)]
wrapped vorbisfile.h static callbacks in #ifndef
OV_EXCLUDE_STATIC_CALLBACKS

svn path=/trunk/vorbis/; revision=15962

15 years agofix to #1362
Monty [Mon, 27 Apr 2009 21:45:44 +0000 (21:45 +0000)]
fix to #1362

svn path=/trunk/vorbis/; revision=15961

15 years agoAttempted fix for #1377 and #1493
Monty [Mon, 27 Apr 2009 20:17:14 +0000 (20:17 +0000)]
Attempted fix for #1377 and #1493

svn path=/trunk/vorbis/; revision=15960

15 years agoConst-ify some static data tables.
Ralph Giles [Thu, 16 Apr 2009 17:00:44 +0000 (17:00 +0000)]
Const-ify some static data tables.

Patch from eldar. Trac issue #1496.

svn path=/trunk/vorbis/; revision=15937

15 years agoCorrect another setup bug; extremely short links could get 'shadowed'
Monty [Thu, 9 Apr 2009 16:35:52 +0000 (16:35 +0000)]
Correct another setup bug; extremely short links could get 'shadowed'
in the preferred serialno lookup if a backwards seek to find a
preceeding page goes back too far and lands in an entirely different
link.

svn path=/trunk/vorbis/; revision=15930

15 years agoBugfix to new bisection code: fix end of data marker
Monty [Thu, 9 Apr 2009 16:03:25 +0000 (16:03 +0000)]
Bugfix to new bisection code: fix end of data marker

Still failing several chaining test vectors, DO NOT USE YET

svn path=/trunk/vorbis/; revision=15929

15 years agoComplete first-cut rearrangement of bisection and initialization code to reduce strea...
Monty [Thu, 9 Apr 2009 15:34:27 +0000 (15:34 +0000)]
Complete first-cut rearrangement of bisection and initialization code to reduce stream seeks.

svn path=/trunk/vorbis/; revision=15928

15 years agoNip a potential bug in the bud (open2 was relying on the position of the vf->offset...
Monty [Thu, 9 Apr 2009 09:02:06 +0000 (09:02 +0000)]
Nip a potential bug in the bud (open2 was relying on the position of the vf->offset cursor not being disturbed from open1)

Fill in offsets and dataoffsets fileds in VF struct, even for non-seekable streams.

svn path=/trunk/vorbis/; revision=15927

15 years agoOngoing open refactoring to eliminate superfluous seeks and reads
Monty [Thu, 9 Apr 2009 07:23:28 +0000 (07:23 +0000)]
Ongoing open refactoring to eliminate superfluous seeks and reads
during stream open

Move initial serial number cataloguing in each link to be part of the
inline header fetch process.

svn path=/trunk/vorbis/; revision=15926

15 years agoAdd an optimization case to _get_prev_page that avoids a redundant seek/resync/reread...
Monty [Thu, 9 Apr 2009 05:52:38 +0000 (05:52 +0000)]
Add an optimization case to _get_prev_page that avoids a redundant seek/resync/reread in the common seek case.

svn path=/trunk/vorbis/; revision=15925

15 years agoset proper types on doc pngs
Monty [Wed, 8 Apr 2009 11:16:18 +0000 (11:16 +0000)]
set proper types on doc pngs

svn path=/trunk/vorbis/; revision=15924

15 years agoPatch an uninitialized trailing space in the ATH in very high sample rates found...
Monty [Wed, 8 Apr 2009 02:29:31 +0000 (02:29 +0000)]
Patch an uninitialized trailing space in the ATH in very high sample rates found by Erik.

svn path=/trunk/vorbis/; revision=15923

15 years agoUpdate docs to eliminate typo that crept into LSP curve computation spec in the XML...
Monty [Wed, 8 Apr 2009 01:46:27 +0000 (01:46 +0000)]
Update docs to eliminate typo that crept into LSP curve computation spec in the XML and latex versions of the doc.

svn path=/trunk/vorbis/; revision=15922

15 years agoPatch for "seek broken for large files and on pure 32 bit architectures"
Monty [Wed, 8 Apr 2009 00:53:57 +0000 (00:53 +0000)]
Patch for "seek broken for large files and on pure 32 bit architectures"

svn path=/trunk/vorbis/; revision=15921

15 years agoRecompress PNGs as suggested in #1523, remove unused super-old Ogg logo
Monty [Wed, 8 Apr 2009 00:48:27 +0000 (00:48 +0000)]
Recompress PNGs as suggested in #1523, remove unused super-old Ogg logo

svn path=/trunk/vorbis/; revision=15920

15 years agoAdded Visual Studio 2008 project files
Cristian Adam [Thu, 2 Apr 2009 14:52:43 +0000 (14:52 +0000)]
Added Visual Studio 2008 project files

svn path=/trunk/vorbis/; revision=15899

15 years agoFix 'make distcheck'.
erikd [Fri, 6 Mar 2009 21:21:49 +0000 (21:21 +0000)]
Fix 'make distcheck'.

svn path=/trunk/vorbis/; revision=15754