platform/upstream/libvorbis.git
8 years agoUpdate doxygen message.
Ralph Giles [Mon, 28 Mar 2016 20:05:17 +0000 (13:05 -0700)]
Update doxygen message.

Configure only looks for doxygen if --enable-docs is passed,
so report that as the issue instead.

8 years agoPass -Wall -Wextra when building on linux32.
Ralph Giles [Mon, 28 Mar 2016 20:00:30 +0000 (13:00 -0700)]
Pass -Wall -Wextra when building on linux32.

We want to be warning-free, so this should be the default,
not just debug builds. It already is on most other targets.

8 years agoMake travis builds verbose.
Ralph Giles [Mon, 28 Mar 2016 20:01:32 +0000 (13:01 -0700)]
Make travis builds verbose.

Recover the full compiler command lines for reference in the
logs after the AM_SILENT_RULES change.

8 years agoEnable AM_SILENT_RULES.
Ralph Giles [Mon, 28 Mar 2016 19:49:27 +0000 (12:49 -0700)]
Enable AM_SILENT_RULES.

Makes warnings more obvious.

8 years agoFix install of pkgconfig files and allow use of OGG_ROOT variable
Steffen Ohrendorf [Sat, 30 Jan 2016 23:19:38 +0000 (23:19 +0000)]
Fix install of pkgconfig files and allow use of OGG_ROOT variable

8 years agoUse svg image for TravisCI badge
Chocobo1 [Fri, 26 Feb 2016 14:29:11 +0000 (22:29 +0800)]
Use svg image for TravisCI badge

8 years agoEnable parallel builds on TravisCI
Chocobo1 [Thu, 25 Feb 2016 14:27:39 +0000 (22:27 +0800)]
Enable parallel builds on TravisCI

8 years agoAdd testing with clang compiler
Chocobo1 [Sun, 21 Feb 2016 14:27:16 +0000 (22:27 +0800)]
Add testing with clang compiler

8 years agotravis: use sudo-less apt-plugin install of libogg-dev.
Ralph Giles [Mon, 18 Jan 2016 19:35:11 +0000 (11:35 -0800)]
travis: use sudo-less apt-plugin install of libogg-dev.

This lets our test job dispatch on the container infrastructure,
which is faster.

8 years agoChange license name BSD-3-Clause to BSD-2.0 48/55848/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0 tizen_3.0.m2 tizen_3.0_tv tizen_4.0 tizen_4.0_tv tizen_5.5_mobile_hotfix accepted/tizen/3.0.m2/mobile/20170105.024750 accepted/tizen/3.0.m2/tv/20170105.024926 accepted/tizen/3.0.m2/wearable/20170105.025050 accepted/tizen/3.0/common/20161114.111058 accepted/tizen/3.0/ivi/20161011.050711 accepted/tizen/3.0/mobile/20161015.033726 accepted/tizen/3.0/tv/20161016.005442 accepted/tizen/3.0/wearable/20161015.083526 accepted/tizen/4.0/unified/20170816.012253 accepted/tizen/4.0/unified/20170828.222707 accepted/tizen/5.0/unified/20181102.025838 accepted/tizen/5.5/unified/20191031.010915 accepted/tizen/5.5/unified/mobile/hotfix/20201027.073643 accepted/tizen/ivi/20160218.025219 accepted/tizen/mobile/20151230.115011 accepted/tizen/tv/20151230.115038 accepted/tizen/unified/20170309.040118 accepted/tizen/wearable/20151230.115105 submit/tizen/20151230.021151 submit/tizen_3.0.m2/20170104.093753 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100006 submit/tizen_5.0/20181101.000007 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000006 submit/tizen_unified/20170308.100414 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release tizen_5.5.m2_release
Gilbok Lee [Wed, 30 Dec 2015 01:51:19 +0000 (10:51 +0900)]
Change license name BSD-3-Clause to BSD-2.0

Change-Id: Ia24226739e5ab05046f02fe6bea3dd38b430cd3d
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoAllocate comment temporaries on the heap.
Ralph Giles [Tue, 13 Oct 2015 22:32:59 +0000 (15:32 -0700)]
Allocate comment temporaries on the heap.

Use malloc/free instead of the more convenient alloca for
comment data. Album art can easily be larger than the local
stack limit and crash the process.

Thanks to Robert Kausch for the suggestion.

8 years agoRemove spurious variable from autogen.sh.
Ralph Giles [Sat, 26 Sep 2015 00:13:54 +0000 (17:13 -0700)]
Remove spurious variable from autogen.sh.

8 years agoconfigure.ac: Add AC_CONFIG_MACRO_DIR
Erik de Castro Lopo [Wed, 5 Aug 2015 07:18:37 +0000 (17:18 +1000)]
configure.ac: Add AC_CONFIG_MACRO_DIR

8 years agoconfigure.ac: Whitespace only
Erik de Castro Lopo [Wed, 5 Aug 2015 07:17:50 +0000 (17:17 +1000)]
configure.ac: Whitespace only

8 years agoAdd CMake documentation to readme.
stopiccot [Sun, 14 Jun 2015 23:21:21 +0000 (02:21 +0300)]
Add CMake documentation to readme.

Signed-off-by: Ralph Giles <giles@thaumas.net>
8 years agoAdd CMake script to build vorbis.
stopiccot [Sun, 7 Jun 2015 14:15:41 +0000 (17:15 +0300)]
Add CMake script to build vorbis.

Signed-off-by: Ralph Giles <giles@thaumas.net>
8 years agoUse https urls in README.
Ralph Giles [Sun, 31 May 2015 17:08:29 +0000 (10:08 -0700)]
Use https urls in README.

8 years agoRemove trailing whitespace.
Ralph Giles [Sun, 31 May 2015 17:07:22 +0000 (10:07 -0700)]
Remove trailing whitespace.

8 years agoAdd build description for travis continuous integration service.
stopiccot [Wed, 20 May 2015 17:16:01 +0000 (20:16 +0300)]
Add build description for travis continuous integration service.

Signed-off-by: Ralph Giles <giles@thaumas.net>
8 years agoSwitch README to markdown.
stopiccot [Sat, 30 May 2015 08:20:46 +0000 (11:20 +0300)]
Switch README to markdown.

Signed-off-by: Ralph Giles <giles@thaumas.net>
8 years agoRemove AC_CONFIG_MACRO_DIRS.
Ralph Giles [Thu, 21 May 2015 04:02:29 +0000 (21:02 -0700)]
Remove AC_CONFIG_MACRO_DIRS.

Jenkins doesn't have new enough libtool for this.

8 years agoMake git ignore generated files.
Ralph Giles [Thu, 21 May 2015 02:49:06 +0000 (19:49 -0700)]
Make git ignore generated files.

8 years agoFix automake warning.
Ralph Giles [Thu, 21 May 2015 02:44:12 +0000 (19:44 -0700)]
Fix automake warning.

Newer versions prefer AM_CPPFLAGS to INCLUDES.
Tell libtool about our m4 directory.

8 years agoSimplify autogen.sh
Ralph Giles [Thu, 21 May 2015 02:38:31 +0000 (19:38 -0700)]
Simplify autogen.sh

Copy the autogen.sh script from the newer daala project. This
just calls autoreconf instead of doing its own tool and
version detection.

Note that this now means one must explicitly invoke ./configure
as ./autogen.sh will no longer do so.

8 years agoRemove todo and MacOS 9 files from distribution.
Ralph Giles [Thu, 21 May 2015 02:28:43 +0000 (19:28 -0700)]
Remove todo and MacOS 9 files from distribution.

Fixes 'make distcheck'.

8 years agoRemove Mac OS 9 project files
stopiccot [Wed, 20 May 2015 17:37:37 +0000 (20:37 +0300)]
Remove Mac OS 9 project files

Signed-off-by: Ralph Giles <giles@thaumas.net>
8 years agoLink all of the examples to libogg.
Thomas Daede [Tue, 19 May 2015 18:11:35 +0000 (11:11 -0700)]
Link all of the examples to libogg.

9 years agoMore release checklist additions.
Ralph Giles [Tue, 3 Mar 2015 17:35:37 +0000 (17:35 +0000)]
More release checklist additions.

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

9 years agoClarify xiph.org updates on the release checklist.
Ralph Giles [Tue, 3 Mar 2015 16:23:14 +0000 (16:23 +0000)]
Clarify xiph.org updates on the release checklist.

Thanks to mark4o for the suggestions.

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

9 years agoAdd a release checklist.
Ralph Giles [Tue, 3 Mar 2015 01:18:18 +0000 (01:18 +0000)]
Add a release checklist.

I always forget things, this is good documentation, and it's been
helpful with the opus releases.

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

9 years agoRecord the release date.
Ralph Giles [Tue, 3 Mar 2015 01:10:26 +0000 (01:10 +0000)]
Record the release date.

Also two more copyright bumps which somehow didn't make the earlier commit.

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

9 years agoBump more copyright dates. v1.3.5
Ralph Giles [Tue, 3 Mar 2015 00:15:29 +0000 (00:15 +0000)]
Bump more copyright dates.

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

9 years agoUpdate changes for release.
Ralph Giles [Tue, 3 Mar 2015 00:06:11 +0000 (00:06 +0000)]
Update changes for release.

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

9 years agoSuppress spurious 'may be used uninitialized' gcc warnings in floor1.c
Monty [Mon, 2 Mar 2015 23:03:34 +0000 (23:03 +0000)]
Suppress spurious 'may be used uninitialized' gcc warnings in floor1.c
encode with static initializers.

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

9 years agoRoll back unintentionally chaged file (barkmel.c) from previous commit.
Monty [Mon, 2 Mar 2015 22:39:28 +0000 (22:39 +0000)]
Roll back unintentionally chaged file (barkmel.c) from previous commit.

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

9 years agoRemove a set-but-unused variable (lastdelta) in the encode-side lsp
Monty [Mon, 2 Mar 2015 22:35:34 +0000 (22:35 +0000)]
Remove a set-but-unused variable (lastdelta) in the encode-side lsp
code.  Note that the code in question is effectively dead as it's for
floor0 encoding, and floor zero has been deprecated for over a decade.

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

9 years agoSomehow the previous svn rm lspmap.png didn't take.
Monty [Fri, 27 Feb 2015 21:38:33 +0000 (21:38 +0000)]
Somehow the previous svn rm lspmap.png didn't take.

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

9 years agoErrata to correct typo in bark equation in 6.2.5 of spec; the last
Monty [Fri, 27 Feb 2015 21:35:42 +0000 (21:35 +0000)]
Errata to correct typo in bark equation in 6.2.5 of spec; the last
paren was misplaced.  The error apparently appeared when resetting the
doc to XML or DocBook.  Note that lspmap.png was erroneously updated
to reflect the typo in r8547 and so it's been wrong since then too.
The original HTML spec was correct (as is the code).

Also remove the associated rendered versions of the typeset equations
as they're no longer used (and lspmap.png was incorrect as described
above anyway)

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

9 years agoDon't use MSVC inline assembly on arm targets.
Ralph Giles [Fri, 27 Feb 2015 19:07:00 +0000 (19:07 +0000)]
Don't use MSVC inline assembly on arm targets.

Patch from Hugo Beauzée-Luyssen. Fixes the build in WindowsRT/ARM.

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

9 years agoUpdate docs makefile according to reflect newly removed graphics files.
Monty [Thu, 26 Feb 2015 22:30:13 +0000 (22:30 +0000)]
Update docs makefile according to reflect newly removed graphics files.

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

9 years agoRemove the ancient (if unlinked) doc/vorbis.html as well as more newly unused graphics.
Monty [Thu, 26 Feb 2015 22:26:56 +0000 (22:26 +0000)]
Remove the ancient (if unlinked) doc/vorbis.html as well as more newly unused graphics.

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

9 years agoEliminate old, neglected DocBook XML version of Vorbis spec doc. It's
Monty [Thu, 26 Feb 2015 22:16:01 +0000 (22:16 +0000)]
Eliminate old, neglected DocBook XML version of Vorbis spec doc.  It's
not been consistently maintained n a number of years and does not
contain all additions/corrections made to the TeX.

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

9 years agoThis commit has two 'functional changes':
Monty [Thu, 26 Feb 2015 22:06:54 +0000 (22:06 +0000)]
This commit has two 'functional changes':

Update the footer to use a modern logo and not kick out a formatting error

handle errata discussed in Trac #2139 regarding single-entry codebooks

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

9 years agoTrac 2139 indirectly brought to light the case of a stream that uses a
Monty [Thu, 26 Feb 2015 02:30:33 +0000 (02:30 +0000)]
Trac 2139 indirectly brought to light the case of a stream that uses a
single-entry codebook, but does not code a codeword of length 1 equal
to zero.  Such a stream could cause a stream to read garbage.

There is no apparent chance of garbage memory writes as this happen
entirely after decode setup, however there is playback DoS potential.

This commit special cases single-entry codebook setup so that decode
is well-defined for streams with single-entry codebooks, and adds some
comments to make it more clear how the case is handled.

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

9 years agoRender prototype and actual function declatation of ov_ilog() semantically consistent
Monty [Wed, 21 Jan 2015 05:24:41 +0000 (05:24 +0000)]
Render prototype and actual function declatation of ov_ilog() semantically consistent

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

9 years agoRemove multiple subtly different inline and static implementaitonos of ilog()
Monty [Wed, 21 Jan 2015 01:17:41 +0000 (01:17 +0000)]
Remove multiple subtly different inline and static implementaitonos of ilog()
Add a few additional sanity checks, mostly functioning to ensure we're always
calling ilog() with >=0 input.

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

9 years agoAdd return code check to _initial_pcmoffset as vorbis_packet_blocksize can fail....
Monty [Mon, 12 Jan 2015 09:43:49 +0000 (09:43 +0000)]
Add return code check to _initial_pcmoffset as vorbis_packet_blocksize can fail.  Closes Trac #2142

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

9 years agoCommit patch in Trac #2067
Monty [Mon, 12 Jan 2015 09:24:24 +0000 (09:24 +0000)]
Commit patch in Trac #2067
replaces -O20 with -O3 in configure.ac

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

9 years agoReorder declaration and initialization of ci and hi so that declaraion is not occurri...
Monty [Mon, 12 Jan 2015 09:20:31 +0000 (09:20 +0000)]
Reorder declaration and initialization of ci and hi so that declaraion is not occurring after the rate <=0 check.

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

9 years agoReject multiple headers of the same type.
Tim Terriberry [Wed, 7 Jan 2015 03:16:56 +0000 (03:16 +0000)]
Reject multiple headers of the same type.

A common application pattern is to call vorbis_synthesis_headerin()
 and count how many times it succeeds.
If you feed it multiple valid comment headers, they will all
 succeed, meaning you can be fooled into think you have a valid
 Vorbis file despite never seeing a setup header.
This patch makes libvorbis reject multiple headers of the same type,
 preventing this from occurring.

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

9 years agoBump libvorbisenc version for 1.3.5 release.
Ralph Giles [Mon, 5 Jan 2015 18:21:40 +0000 (18:21 +0000)]
Bump libvorbisenc version for 1.3.5 release.

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

9 years agoFix encoder crash with non-positive sample rates.
Ralph Giles [Mon, 5 Jan 2015 18:04:20 +0000 (18:04 +0000)]
Fix encoder crash with non-positive sample rates.

Input files with sampling rate 0 are useless and can make
libvorbis access invalid memory because the logic in
_vp_psy_init (and probably other functions) isn't prepared for
it. A sanity check lets the library refuse those inputs
gracefully in the initialization functions before they can
do harm.

Patch by Martin Steghöfer <martin@steghoefer.eu>

Fixes #2078
Bug-Debian: https://bugs.debian.org/716613

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

9 years agoBump version for 1.3.5 release.
Ralph Giles [Mon, 5 Jan 2015 17:53:22 +0000 (17:53 +0000)]
Bump version for 1.3.5 release.

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

9 years agoFix crash on corrupt input file (invalid mode index)
Tim Terriberry [Sun, 4 Jan 2015 18:54:27 +0000 (18:54 +0000)]
Fix crash on corrupt input file (invalid mode index)

vorbis_packet_blocksize() crashes with a NULL pointer dereference,
if the "mode" index read from the packet is too large. Check this
immediately after reading the value and before accessing the mode
parameters. This crash potentially affects all users of libvorbisfile
and anyone else who calls vorbis_packet_blocksize() manually.

Patch by Martin Steghöfer <martin@steghoefer.eu>

Fixes #2140
Bug-Debian: https://bugs.debian.org/774516

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

9 years agopackaging: depend on the same release 65/31965/1
Philippe Coval [Fri, 12 Dec 2014 16:00:17 +0000 (17:00 +0100)]
packaging: depend on the same release

Change-Id: I1692c419fe1ce0bcfa05054898e74e18cc84d3c7
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopacakging: Bump to version 1.3.4 accepted/tizen_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20141219.104111 accepted/tizen/ivi/20141225.062823 accepted/tizen/mobile/20150224.002807 accepted/tizen/tv/20150324.014616 accepted/tizen/wearable/20150129.005805 submit/tizen_common/20141212.155900 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20141225.111111 submit/tizen_mobile/20150129.000000 submit/tizen_mobile/20150213.000000 submit/tizen_mobile/20150223.000001 submit/tizen_tv/20150130.000000 submit/tizen_tv/20150130.050505 submit/tizen_tv/20150320.000002 submit/tizen_tv/20150323.050640 submit/tizen_wearable/20150127.000001 submit/tizen_wearable/20150128.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
Kévin THIERRY [Wed, 12 Nov 2014 14:48:21 +0000 (15:48 +0100)]
pacakging: Bump to version 1.3.4

Bug-Tizen: TC-1844
Change-Id: I211946ec65813cfe2854962b11ee6ac98fe5fc64
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Mon, 1 Jul 2013 17:14:47 +0000 (20:14 +0300)]
resetting manifest requested domain to floor

9 years agoFixed package groups
Anas Nashif [Tue, 19 Mar 2013 02:30:16 +0000 (19:30 -0700)]
Fixed package groups

9 years agofixed source compression format
Anas Nashif [Wed, 28 Nov 2012 16:47:40 +0000 (08:47 -0800)]
fixed source compression format

9 years agoadd %license
Anas Nashif [Wed, 28 Nov 2012 16:46:29 +0000 (08:46 -0800)]
add %license

9 years agofix ocloexec
Anas Nashif [Sun, 4 Nov 2012 15:30:43 +0000 (07:30 -0800)]
fix ocloexec

9 years agofix linking
Anas Nashif [Sun, 4 Nov 2012 15:30:20 +0000 (07:30 -0800)]
fix linking

9 years agofixed packaging
Anas Nashif [Sun, 4 Nov 2012 15:29:58 +0000 (07:29 -0800)]
fixed packaging

9 years agopackaging: Intial packaging for Tizen
Anas Nashif [Sun, 4 Nov 2012 15:26:25 +0000 (07:26 -0800)]
packaging: Intial packaging for Tizen

Change-Id: I57675e03bbc6c057dffd74403cc2d14ef73ce566

9 years agoImported Upstream version 1.3.4
Kévin THIERRY [Wed, 12 Nov 2014 14:41:20 +0000 (15:41 +0100)]
Imported Upstream version 1.3.4

9 years agoFix spec typo.
Ralph Giles [Tue, 14 Oct 2014 21:03:45 +0000 (21:03 +0000)]
Fix spec typo.

Issue #2060.

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

9 years agoFix some typos in the spec.
Tim Terriberry [Fri, 10 Oct 2014 15:27:37 +0000 (15:27 +0000)]
Fix some typos in the spec.

Thanks to stefan for the report.

Fixes #2060.

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

9 years agoCorrect two more corner case problems with #1486:
Monty [Tue, 24 Jun 2014 14:26:38 +0000 (14:26 +0000)]
Correct two more corner case problems with #1486:
1) single-page streams will have no bisection; handle the special case explicitly
2) if the bisection fails without ever successfully grabbing a page, the first-page-special-case check is unprotected and will look at uninitialized memory.

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

9 years agoUpdate vorbisfile source copyright
Monty [Wed, 18 Jun 2014 08:18:11 +0000 (08:18 +0000)]
Update vorbisfile source copyright

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

9 years agoAdditional fix to last-page handling, this time in initial bisection;
Monty [Wed, 18 Jun 2014 08:10:07 +0000 (08:10 +0000)]
Additional fix to last-page handling, this time in initial bisection;
the code had gotten too cavalier about directly munging the vf->offset
file pointer as well as using it as an implicit argument to
_get_prev_page and _get_prev_page_serial.  The fact it was being used
as an argument and a side effect caused a necessary seek to get missed
when the last page of a link was non-vorbis.

Fix: Clean up the overloading, and be explicit about where we're
beginning prev_page reads.

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

9 years agoCorrect two errors in patch for Trac #1486:
Monty [Wed, 18 Jun 2014 06:33:58 +0000 (06:33 +0000)]
Correct two errors in patch for Trac #1486:

1) vf->offset should not have been overridden in new front-of-stream case
2) missing status output in seeking_example.c

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

9 years agoAttempted fix to Trac #1486
Monty [Wed, 11 Jun 2014 22:36:37 +0000 (22:36 +0000)]
Attempted fix to Trac #1486

beginning-of-stream seek targets were no longer well defined in
ov_pcm_seek_page() (and thus ov_pcm_seek()) since extending to
multiplexed streams.  Beginning of stream is a special case due to the
seek target preceding the first explicit granule position.

Although seeking to PCM 0 triggered the bug, early seeks in general
were not ebing handld well; rather than continuing to overload the
bisection, handle the early-seek case outside the loop.

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

9 years agoExtend seeking_example to always perform a pcm / pcm_page seek test to position 0...
Monty [Wed, 11 Jun 2014 22:31:46 +0000 (22:31 +0000)]
Extend seeking_example to always perform a pcm / pcm_page seek test to position 0 as an addiitonal test

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

10 years agoBump vendor string for dot release. v1.3.4
Monty [Wed, 22 Jan 2014 18:03:15 +0000 (18:03 +0000)]
Bump vendor string for dot release.

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

10 years agoMove all the static encoder codebooks to 'char' lengthlists rather than 'long' as...
Monty [Wed, 22 Jan 2014 12:32:31 +0000 (12:32 +0000)]
Move all the static encoder codebooks to 'char' lengthlists rather than 'long' as the largest value for a lengthlist entry is 32 and the lengthlists are large.

Alter the codebook generation tools in vq/ to generate the codebooks properly given the new type.

[Hopefully] no functional change.

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

10 years agodebug and profile targets weren't hooked to anything; have them make check with flags...
Monty [Wed, 22 Jan 2014 12:29:57 +0000 (12:29 +0000)]
debug and profile targets weren't hooked to anything; have them make check with flags rather than make all

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

10 years agoVarious warning fixes.
Tim Terriberry [Tue, 3 Dec 2013 19:20:50 +0000 (19:20 +0000)]
Various warning fixes.

Some of these were introduced in r19028.
Others have been around much longer.

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

10 years agoMake definition of _vorbis_window_get() match declaration.
Tim Terriberry [Mon, 2 Dec 2013 23:23:39 +0000 (23:23 +0000)]
Make definition of _vorbis_window_get() match declaration.

window.c wasn't actually including window.h, or this would have been
 noticed earlier.

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

10 years agoEnable keyword substitution on remaining files with $Id$ lines.
Ralph Giles [Tue, 12 Nov 2013 04:13:28 +0000 (04:13 +0000)]
Enable keyword substitution on remaining files with $Id$ lines.

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

10 years agoAdd license header and turn on keyword substitution for 5.1 codebook.
Ralph Giles [Tue, 12 Nov 2013 04:09:40 +0000 (04:09 +0000)]
Add license header and turn on keyword substitution for 5.1 codebook.

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

10 years agoSet keyword substitution on the 5.1 mode files.
Ralph Giles [Tue, 12 Nov 2013 04:04:50 +0000 (04:04 +0000)]
Set keyword substitution on the 5.1 mode files.

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

10 years agoPatch for Trac #1974; make sure unit tests pull in -lm during link
Monty [Thu, 19 Sep 2013 15:47:38 +0000 (15:47 +0000)]
Patch for Trac #1974; make sure unit tests pull in -lm during link

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

10 years agoPatch for trac #1965; clarify in comments and docs that a failed call
Monty [Sat, 13 Jul 2013 20:57:14 +0000 (20:57 +0000)]
Patch for trac #1965; clarify in comments and docs that a failed call
to ov_test does not take ownership of the passed-in file.

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

11 years agoUpdate pkgconfig files to reduce overlinking.
Tim Terriberry [Fri, 29 Mar 2013 16:49:46 +0000 (16:49 +0000)]
Update pkgconfig files to reduce overlinking.

Patch from Cristian Rodriguez.
Reviewed by: David Schleef, Conrad Parker, Ron Lee
Thanks to Brad Smith for kicking us.
Fixes #1759.

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

11 years agoBring libvorbis's configure.in into the 21st century.
Tim Terriberry [Tue, 8 Jan 2013 16:58:50 +0000 (16:58 +0000)]
Bring libvorbis's configure.in into the 21st century.

Patch by Ron Lee.

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

11 years agoImported Upstream version 1.3.3
Anas Nashif [Sun, 4 Nov 2012 15:26:23 +0000 (07:26 -0800)]
Imported Upstream version 1.3.3

11 years agoEscape more things in the vorbisfile docs' example code.
Tim Terriberry [Sat, 22 Sep 2012 02:09:19 +0000 (02:09 +0000)]
Escape more things in the vorbisfile docs' example code.

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

11 years agocorrected docs: docs did not reflect the path parameter to be const. see #1593
Philipp Schafft [Sun, 29 Jul 2012 14:12:34 +0000 (14:12 +0000)]
corrected docs: docs did not reflect the path parameter to be const. see #1593

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

12 years agoHave to remember to update CHANGES for release v1.3.3
Monty [Fri, 3 Feb 2012 22:20:36 +0000 (22:20 +0000)]
Have to remember to update CHANGES for release

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

12 years agocommit version bump for 1.3.3 release
Monty [Fri, 3 Feb 2012 22:08:44 +0000 (22:08 +0000)]
commit version bump for 1.3.3 release

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

12 years agoRemove white-xifish.png from makefile dependencies for spec; it doesn't appear to
Monty [Fri, 3 Feb 2012 21:31:16 +0000 (21:31 +0000)]
Remove white-xifish.png from makefile dependencies for spec; it doesn't appear to
reference it, and trying to install it twice is breaking make install.

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

12 years agoMinor build correction to r18183
Monty [Fri, 3 Feb 2012 20:55:12 +0000 (20:55 +0000)]
Minor build correction to r18183

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

12 years agoPort r17546 from Tremor; although pieces had made it over to libvorbis, a comprehensive
Monty [Fri, 3 Feb 2012 20:51:27 +0000 (20:51 +0000)]
Port r17546 from Tremor; although pieces had made it over to libvorbis, a comprehensive
port and verification was called for.  This patch provided some additional floor0
hardening:

  floor0 code could potentially use a book where the number of vals it
  needed to decode was not an integer number of dims wide.  This caused
  it to overflow the output vector as the termination condition was in
  the outer loop of vorbis_book_decodev_set.

  None of the various vorbis_book_decodeXXXX calls internally guard
  against this case either, but in every other use the calling code does
  properly guard (and avoids putting more checks in the tight inner
  decode loop).

  For floor0, move the checks into the inner loop as there's little
  penalty for doing so.

[an equivalent change was already in libvorbis, but I've
harmonized the code with tremor]

  For floor0, move the checks into the inner loop as there's little
  penalty for doing so.  Add commentary indicating where guarding is
  done for each call variant.

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

12 years agoMore typo/layout fixes to the floor 1 spec (packet decode and curve computation ->
Monty [Fri, 3 Feb 2012 19:56:27 +0000 (19:56 +0000)]
More typo/layout fixes to the floor 1 spec (packet decode and curve computation ->
subsubsections, fix my escpaed square brackets)

Commit new html/pdf

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

12 years agoAdd a clarification to the floor1 decode spec, since I had to re-determine some of...
Monty [Fri, 3 Feb 2012 19:49:57 +0000 (19:49 +0000)]
Add a clarification to the floor1 decode spec, since I had to re-determine some of what
it says for myself after not thinking about it for 15-ish years.

Also, fix an indentation bug that occurred due to TABs sneaking in

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

12 years agoFix handling of floor0 codebook with no used entries.
Tim Terriberry [Wed, 1 Feb 2012 01:43:09 +0000 (01:43 +0000)]
Fix handling of floor0 codebook with no used entries.

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

12 years agoCommit new versions of geenrated docs to reflect floor1 spec addition/correction
Monty [Fri, 20 Jan 2012 07:50:52 +0000 (07:50 +0000)]
Commit new versions of geenrated docs to reflect floor1 spec addition/correction

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

12 years agoCommit fix to Moz Bugzilla #719612 (along with spec update in previous commit)
Monty [Fri, 20 Jan 2012 07:35:26 +0000 (07:35 +0000)]
Commit fix to Moz Bugzilla #719612 (along with spec update in previous commit)

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

12 years agoSpec correction: Hard limit of 63 configurable (65 total) floor1 posts was never...
Monty [Fri, 20 Jan 2012 07:10:43 +0000 (07:10 +0000)]
Spec correction: Hard limit of 63 configurable (65 total) floor1 posts was never spelled out in the spec.
Part of addressing Moz BZ #719612

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

12 years agoFix a memory leak in vorbis_commentheader_out().
Tim Terriberry [Fri, 4 Nov 2011 23:55:47 +0000 (23:55 +0000)]
Fix a memory leak in vorbis_commentheader_out().

Fixes #1840.
Thanks to Alexandru Munteanu for the patch.

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