Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alchemy
Third Party
3p-ogg_vorbis
Commits
4aaa4569
Commit
4aaa4569
authored
Oct 01, 2018
by
AndreyL ProductEngine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SL-1695 Upgraded libvorbis to version 1.3.6
--HG-- branch : vendor
parent
e73ff8ce
Changes
209
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
209 changed files
with
34029 additions
and
26830 deletions
+34029
-26830
libvorbis/CHANGES
libvorbis/CHANGES
+39
-0
libvorbis/COPYING
libvorbis/COPYING
+1
-1
libvorbis/Makefile.am
libvorbis/Makefile.am
+5
-3
libvorbis/Makefile.in
libvorbis/Makefile.in
+425
-229
libvorbis/README
libvorbis/README
+0
-134
libvorbis/aclocal.m4
libvorbis/aclocal.m4
+615
-8340
libvorbis/autogen.sh
libvorbis/autogen.sh
+4
-121
libvorbis/compile
libvorbis/compile
+226
-20
libvorbis/config.guess
libvorbis/config.guess
+442
-466
libvorbis/config.h.in
libvorbis/config.h.in
+7
-5
libvorbis/config.sub
libvorbis/config.sub
+341
-113
libvorbis/configure
libvorbis/configure
+6608
-6292
libvorbis/configure.ac
libvorbis/configure.ac
+42
-35
libvorbis/depcomp
libvorbis/depcomp
+449
-188
libvorbis/doc/01-introduction.tex
libvorbis/doc/01-introduction.tex
+1
-2
libvorbis/doc/02-bitpacking.tex
libvorbis/doc/02-bitpacking.tex
+0
-1
libvorbis/doc/03-codebook.tex
libvorbis/doc/03-codebook.tex
+116
-66
libvorbis/doc/04-codec.tex
libvorbis/doc/04-codec.tex
+133
-134
libvorbis/doc/05-comment.tex
libvorbis/doc/05-comment.tex
+8
-9
libvorbis/doc/06-floor0.tex
libvorbis/doc/06-floor0.tex
+51
-42
libvorbis/doc/07-floor1.tex
libvorbis/doc/07-floor1.tex
+99
-87
libvorbis/doc/08-residue.tex
libvorbis/doc/08-residue.tex
+68
-69
libvorbis/doc/09-helper.tex
libvorbis/doc/09-helper.tex
+18
-19
libvorbis/doc/10-tables.tex
libvorbis/doc/10-tables.tex
+2
-3
libvorbis/doc/Makefile.am
libvorbis/doc/Makefile.am
+21
-22
libvorbis/doc/Makefile.in
libvorbis/doc/Makefile.in
+322
-168
libvorbis/doc/Vorbis_I_spec.css
libvorbis/doc/Vorbis_I_spec.css
+6
-0
libvorbis/doc/Vorbis_I_spec.html
libvorbis/doc/Vorbis_I_spec.html
+2423
-2902
libvorbis/doc/Vorbis_I_spec.pdf
libvorbis/doc/Vorbis_I_spec.pdf
+0
-0
libvorbis/doc/Vorbis_I_spec.tex
libvorbis/doc/Vorbis_I_spec.tex
+10
-1
libvorbis/doc/Vorbis_I_spec0x.png
libvorbis/doc/Vorbis_I_spec0x.png
+0
-0
libvorbis/doc/Vorbis_I_spec10x.png
libvorbis/doc/Vorbis_I_spec10x.png
+0
-0
libvorbis/doc/Vorbis_I_spec11x.png
libvorbis/doc/Vorbis_I_spec11x.png
+0
-0
libvorbis/doc/Vorbis_I_spec12x.png
libvorbis/doc/Vorbis_I_spec12x.png
+0
-0
libvorbis/doc/Vorbis_I_spec13x.png
libvorbis/doc/Vorbis_I_spec13x.png
+0
-0
libvorbis/doc/Vorbis_I_spec14x.png
libvorbis/doc/Vorbis_I_spec14x.png
+0
-0
libvorbis/doc/Vorbis_I_spec1x.png
libvorbis/doc/Vorbis_I_spec1x.png
+0
-0
libvorbis/doc/Vorbis_I_spec2x.png
libvorbis/doc/Vorbis_I_spec2x.png
+0
-0
libvorbis/doc/Vorbis_I_spec3x.png
libvorbis/doc/Vorbis_I_spec3x.png
+0
-0
libvorbis/doc/Vorbis_I_spec4x.png
libvorbis/doc/Vorbis_I_spec4x.png
+0
-0
libvorbis/doc/Vorbis_I_spec5x.png
libvorbis/doc/Vorbis_I_spec5x.png
+0
-0
libvorbis/doc/Vorbis_I_spec6x.png
libvorbis/doc/Vorbis_I_spec6x.png
+0
-0
libvorbis/doc/Vorbis_I_spec7x.png
libvorbis/doc/Vorbis_I_spec7x.png
+0
-0
libvorbis/doc/Vorbis_I_spec8x.png
libvorbis/doc/Vorbis_I_spec8x.png
+0
-0
libvorbis/doc/Vorbis_I_spec9x.png
libvorbis/doc/Vorbis_I_spec9x.png
+0
-0
libvorbis/doc/a1-encapsulation-ogg.tex
libvorbis/doc/a1-encapsulation-ogg.tex
+0
-1
libvorbis/doc/a2-encapsulation-rtp.tex
libvorbis/doc/a2-encapsulation-rtp.tex
+0
-1
libvorbis/doc/evenlsp.png
libvorbis/doc/evenlsp.png
+0
-0
libvorbis/doc/footer.tex
libvorbis/doc/footer.tex
+4
-6
libvorbis/doc/libvorbis/Makefile.in
libvorbis/doc/libvorbis/Makefile.in
+179
-46
libvorbis/doc/lspmap.png
libvorbis/doc/lspmap.png
+0
-0
libvorbis/doc/oddlsp.png
libvorbis/doc/oddlsp.png
+0
-0
libvorbis/doc/v-comment.html
libvorbis/doc/v-comment.html
+7
-7
libvorbis/doc/vorbis.html
libvorbis/doc/vorbis.html
+0
-234
libvorbis/doc/vorbisenc/Makefile.in
libvorbis/doc/vorbisenc/Makefile.in
+179
-46
libvorbis/doc/vorbisfile/Makefile.in
libvorbis/doc/vorbisfile/Makefile.in
+179
-46
libvorbis/doc/vorbisfile/chainingexample.html
libvorbis/doc/vorbisfile/chainingexample.html
+1
-1
libvorbis/doc/vorbisfile/example.html
libvorbis/doc/vorbisfile/example.html
+9
-9
libvorbis/doc/vorbisfile/ov_fopen.html
libvorbis/doc/vorbisfile/ov_fopen.html
+1
-1
libvorbis/doc/vorbisfile/ov_test.html
libvorbis/doc/vorbisfile/ov_test.html
+6
-3
libvorbis/doc/vorbisfile/seeking_example_c.html
libvorbis/doc/vorbisfile/seeking_example_c.html
+8
-8
libvorbis/doc/vorbisfile/seeking_test_c.html
libvorbis/doc/vorbisfile/seeking_test_c.html
+8
-8
libvorbis/doc/vorbisfile/seekingexample.html
libvorbis/doc/vorbisfile/seekingexample.html
+7
-7
libvorbis/doc/vorbisfile/vorbisfile_example_c.html
libvorbis/doc/vorbisfile/vorbisfile_example_c.html
+8
-8
libvorbis/doc/vorbisword2.png
libvorbis/doc/vorbisword2.png
+0
-0
libvorbis/doc/wait.png
libvorbis/doc/wait.png
+0
-0
libvorbis/doc/white-xifish.png
libvorbis/doc/white-xifish.png
+0
-0
libvorbis/doc/xifish.pdf
libvorbis/doc/xifish.pdf
+0
-0
libvorbis/examples/Makefile.am
libvorbis/examples/Makefile.am
+7
-7
libvorbis/examples/Makefile.in
libvorbis/examples/Makefile.in
+258
-107
libvorbis/examples/chaining_example.c
libvorbis/examples/chaining_example.c
+0
-1
libvorbis/examples/decoder_example.c
libvorbis/examples/decoder_example.c
+33
-34
libvorbis/examples/encoder_example.c
libvorbis/examples/encoder_example.c
+0
-1
libvorbis/examples/seeking_example.c
libvorbis/examples/seeking_example.c
+11
-13
libvorbis/examples/vorbisfile_example.c
libvorbis/examples/vorbisfile_example.c
+3
-4
libvorbis/include/Makefile.in
libvorbis/include/Makefile.in
+273
-142
libvorbis/include/vorbis/Makefile.in
libvorbis/include/vorbis/Makefile.in
+231
-78
libvorbis/include/vorbis/codec.h
libvorbis/include/vorbis/codec.h
+0
-1
libvorbis/include/vorbis/vorbisenc.h
libvorbis/include/vorbis/vorbisenc.h
+0
-1
libvorbis/include/vorbis/vorbisfile.h
libvorbis/include/vorbis/vorbisfile.h
+0
-1
libvorbis/install-sh
libvorbis/install-sh
+352
-174
libvorbis/lib/Makefile.am
libvorbis/lib/Makefile.am
+1
-1
libvorbis/lib/Makefile.in
libvorbis/lib/Makefile.in
+396
-210
libvorbis/lib/analysis.c
libvorbis/lib/analysis.c
+0
-1
libvorbis/lib/backends.h
libvorbis/lib/backends.h
+0
-1
libvorbis/lib/barkmel.c
libvorbis/lib/barkmel.c
+0
-1
libvorbis/lib/bitrate.c
libvorbis/lib/bitrate.c
+0
-1
libvorbis/lib/bitrate.h
libvorbis/lib/bitrate.h
+0
-1
libvorbis/lib/block.c
libvorbis/lib/block.c
+21
-21
libvorbis/lib/books/Makefile.in
libvorbis/lib/books/Makefile.in
+273
-142
libvorbis/lib/books/coupled/Makefile.in
libvorbis/lib/books/coupled/Makefile.in
+142
-33
libvorbis/lib/books/coupled/res_books_51.h
libvorbis/lib/books/coupled/res_books_51.h
+444
-428
libvorbis/lib/books/coupled/res_books_stereo.h
libvorbis/lib/books/coupled/res_books_stereo.h
+564
-565
libvorbis/lib/books/floor/Makefile.in
libvorbis/lib/books/floor/Makefile.in
+142
-33
libvorbis/lib/books/floor/floor_books.h
libvorbis/lib/books/floor/floor_books.h
+194
-195
libvorbis/lib/books/uncoupled/Makefile.in
libvorbis/lib/books/uncoupled/Makefile.in
+142
-33
libvorbis/lib/books/uncoupled/res_books_uncoupled.h
libvorbis/lib/books/uncoupled/res_books_uncoupled.h
+438
-439
libvorbis/lib/codebook.c
libvorbis/lib/codebook.c
+33
-51
libvorbis/lib/codebook.h
libvorbis/lib/codebook.h
+7
-9
libvorbis/lib/codec_internal.h
libvorbis/lib/codec_internal.h
+0
-1
libvorbis/lib/envelope.c
libvorbis/lib/envelope.c
+0
-1
libvorbis/lib/envelope.h
libvorbis/lib/envelope.h
+0
-1
libvorbis/lib/floor0.c
libvorbis/lib/floor0.c
+7
-6
libvorbis/lib/floor1.c
libvorbis/lib/floor1.c
+17
-30
libvorbis/lib/highlevel.h
libvorbis/lib/highlevel.h
+0
-1
libvorbis/lib/info.c
libvorbis/lib/info.c
+45
-30
libvorbis/lib/lookup.c
libvorbis/lib/lookup.c
+0
-1
libvorbis/lib/lookup.h
libvorbis/lib/lookup.h
+0
-1
libvorbis/lib/lookup_data.h
libvorbis/lib/lookup_data.h
+0
-1
libvorbis/lib/lookups.pl
libvorbis/lib/lookups.pl
+0
-1
libvorbis/lib/lpc.c
libvorbis/lib/lpc.c
+0
-1
libvorbis/lib/lpc.h
libvorbis/lib/lpc.h
+0
-1
libvorbis/lib/lsp.c
libvorbis/lib/lsp.c
+0
-3
libvorbis/lib/lsp.h
libvorbis/lib/lsp.h
+0
-1
libvorbis/lib/mapping0.c
libvorbis/lib/mapping0.c
+8
-16
libvorbis/lib/masking.h
libvorbis/lib/masking.h
+0
-1
libvorbis/lib/mdct.c
libvorbis/lib/mdct.c
+0
-1
libvorbis/lib/mdct.h
libvorbis/lib/mdct.h
+0
-1
libvorbis/lib/misc.h
libvorbis/lib/misc.h
+2
-2
libvorbis/lib/modes/Makefile.in
libvorbis/lib/modes/Makefile.in
+142
-33
libvorbis/lib/modes/floor_all.h
libvorbis/lib/modes/floor_all.h
+0
-1
libvorbis/lib/modes/psych_11.h
libvorbis/lib/modes/psych_11.h
+0
-1
libvorbis/lib/modes/psych_16.h
libvorbis/lib/modes/psych_16.h
+0
-1
libvorbis/lib/modes/psych_44.h
libvorbis/lib/modes/psych_44.h
+0
-1
libvorbis/lib/modes/psych_8.h
libvorbis/lib/modes/psych_8.h
+0
-1
libvorbis/lib/modes/residue_16.h
libvorbis/lib/modes/residue_16.h
+0
-1
libvorbis/lib/modes/residue_44.h
libvorbis/lib/modes/residue_44.h
+0
-1
libvorbis/lib/modes/residue_44p51.h
libvorbis/lib/modes/residue_44p51.h
+0
-1
libvorbis/lib/modes/residue_44u.h
libvorbis/lib/modes/residue_44u.h
+0
-1
libvorbis/lib/modes/residue_8.h
libvorbis/lib/modes/residue_8.h
+0
-1
libvorbis/lib/modes/setup_11.h
libvorbis/lib/modes/setup_11.h
+0
-1
libvorbis/lib/modes/setup_16.h
libvorbis/lib/modes/setup_16.h
+0
-1
libvorbis/lib/modes/setup_22.h
libvorbis/lib/modes/setup_22.h
+0
-1
libvorbis/lib/modes/setup_32.h
libvorbis/lib/modes/setup_32.h
+0
-1
libvorbis/lib/modes/setup_44.h
libvorbis/lib/modes/setup_44.h
+0
-1
libvorbis/lib/modes/setup_44p51.h
libvorbis/lib/modes/setup_44p51.h
+0
-1
libvorbis/lib/modes/setup_44u.h
libvorbis/lib/modes/setup_44u.h
+0
-1
libvorbis/lib/modes/setup_8.h
libvorbis/lib/modes/setup_8.h
+0
-1
libvorbis/lib/modes/setup_X.h
libvorbis/lib/modes/setup_X.h
+0
-1
libvorbis/lib/os.h
libvorbis/lib/os.h
+9
-5
libvorbis/lib/psy.c
libvorbis/lib/psy.c
+8
-6
libvorbis/lib/psy.h
libvorbis/lib/psy.h
+0
-1
libvorbis/lib/psytune.c
libvorbis/lib/psytune.c
+32
-33
libvorbis/lib/registry.c
libvorbis/lib/registry.c
+0
-1
libvorbis/lib/registry.h
libvorbis/lib/registry.h
+0
-1
libvorbis/lib/res0.c
libvorbis/lib/res0.c
+33
-33
libvorbis/lib/scales.h
libvorbis/lib/scales.h
+0
-1
libvorbis/lib/sharedbook.c
libvorbis/lib/sharedbook.c
+80
-64
libvorbis/lib/smallft.c
libvorbis/lib/smallft.c
+0
-1
libvorbis/lib/smallft.h
libvorbis/lib/smallft.h
+0
-1
libvorbis/lib/synthesis.c
libvorbis/lib/synthesis.c
+10
-15
libvorbis/lib/tone.c
libvorbis/lib/tone.c
+2
-2
libvorbis/lib/vorbisenc.c
libvorbis/lib/vorbisenc.c
+15
-7
libvorbis/lib/vorbisfile.c
libvorbis/lib/vorbisfile.c
+167
-80
libvorbis/lib/window.c
libvorbis/lib/window.c
+1
-1
libvorbis/lib/window.h
libvorbis/lib/window.h
+1
-2
libvorbis/libvorbis.spec
libvorbis/libvorbis.spec
+1
-1
libvorbis/ltmain.sh
libvorbis/ltmain.sh
+5417
-2683
libvorbis/m4/Makefile.in
libvorbis/m4/Makefile.in
+142
-33
libvorbis/m4/libtool.m4
libvorbis/m4/libtool.m4
+8372
-0
libvorbis/m4/ltoptions.m4
libvorbis/m4/ltoptions.m4
+437
-0
libvorbis/m4/ltsugar.m4
libvorbis/m4/ltsugar.m4
+124
-0
libvorbis/m4/ltversion.m4
libvorbis/m4/ltversion.m4
+23
-0
libvorbis/m4/lt~obsolete.m4
libvorbis/m4/lt~obsolete.m4
+99
-0
libvorbis/macos/compat/strdup.c
libvorbis/macos/compat/strdup.c
+0
-21
libvorbis/macos/compat/sys/types.h
libvorbis/macos/compat/sys/types.h
+0
-1
libvorbis/macos/decoder_example.mcp
libvorbis/macos/decoder_example.mcp
+0
-0
libvorbis/macos/encoder_example.mcp
libvorbis/macos/encoder_example.mcp
+0
-0
libvorbis/macos/libvorbis.mcp
libvorbis/macos/libvorbis.mcp
+0
-0
libvorbis/macos/libvorbis.mcp.exp
libvorbis/macos/libvorbis.mcp.exp
+0
-45
libvorbis/macos/libvorbisenc.mcp
libvorbis/macos/libvorbisenc.mcp
+0
-0
libvorbis/macos/libvorbisenc.mcp.exp
libvorbis/macos/libvorbisenc.mcp.exp
+0
-8
libvorbis/macos/libvorbisfile.mcp
libvorbis/macos/libvorbisfile.mcp
+0
-0
libvorbis/macos/libvorbisfile.mcp.exp
libvorbis/macos/libvorbisfile.mcp.exp
+0
-45
libvorbis/macos/vorbis.mcp
libvorbis/macos/vorbis.mcp
+0
-0
libvorbis/missing
libvorbis/missing
+154
-299
libvorbis/test/Makefile.am
libvorbis/test/Makefile.am
+5
-5
libvorbis/test/Makefile.in
libvorbis/test/Makefile.in
+236
-90
libvorbis/test/test.c
libvorbis/test/test.c
+0
-1
libvorbis/test/util.c
libvorbis/test/util.c
+0
-1
libvorbis/test/util.h
libvorbis/test/util.h
+0
-1
libvorbis/test/write_read.c
libvorbis/test/write_read.c
+0
-1
libvorbis/test/write_read.h
libvorbis/test/write_read.h
+0
-1
libvorbis/todo.txt
libvorbis/todo.txt
+0
-22
libvorbis/vorbis.pc.in
libvorbis/vorbis.pc.in
+3
-2
libvorbis/vorbisenc.pc.in
libvorbis/vorbisenc.pc.in
+1
-1
libvorbis/vorbisfile.pc.in
libvorbis/vorbisfile.pc.in
+1
-1
libvorbis/vq/Makefile.am
libvorbis/vq/Makefile.am
+1
-2
libvorbis/vq/Makefile.in
libvorbis/vq/Makefile.in
+242
-95
libvorbis/vq/bookutil.c
libvorbis/vq/bookutil.c
+17
-18
libvorbis/vq/bookutil.h
libvorbis/vq/bookutil.h
+0
-1
libvorbis/vq/distribution.c
libvorbis/vq/distribution.c
+16
-17
libvorbis/vq/huffbuild.c
libvorbis/vq/huffbuild.c
+11
-12
libvorbis/vq/latticebuild.c
libvorbis/vq/latticebuild.c
+5
-6
libvorbis/vq/latticetune.c
libvorbis/vq/latticetune.c
+8
-9
libvorbis/vq/localcodebook.h
libvorbis/vq/localcodebook.h
+0
-1
libvorbis/vq/metrics.c
libvorbis/vq/metrics.c
+13
-14
libvorbis/vq/vqgen.c
libvorbis/vq/vqgen.c
+26
-27
libvorbis/vq/vqgen.h
libvorbis/vq/vqgen.h
+0
-1
libvorbis/win32/VS2008/libvorbis/libvorbis_static.vcproj
libvorbis/win32/VS2008/libvorbis/libvorbis_static.vcproj
+1023
-290
libvorbis/win32/VS2010/README
libvorbis/win32/VS2010/README
+4
-4
libvorbis/win32/VS2010/libogg.props
libvorbis/win32/VS2010/libogg.props
+4
-4
libvorbis/win32/VS2010/libvorbis/libvorbis_dynamic.vcxproj
libvorbis/win32/VS2010/libvorbis/libvorbis_dynamic.vcxproj
+5
-5
libvorbis/win32/VS2010/libvorbisfile/libvorbisfile_dynamic.vcxproj
.../win32/VS2010/libvorbisfile/libvorbisfile_dynamic.vcxproj
+5
-5
libvorbis/win32/VS2010/vorbisdec/vorbisdec_dynamic.vcxproj
libvorbis/win32/VS2010/vorbisdec/vorbisdec_dynamic.vcxproj
+5
-5
libvorbis/win32/VS2010/vorbisenc/vorbisenc_dynamic.vcxproj
libvorbis/win32/VS2010/vorbisenc/vorbisenc_dynamic.vcxproj
+5
-5
libvorbis/win32/vorbis.def
libvorbis/win32/vorbis.def
+1
-2
libvorbis/win32/vorbisenc.def
libvorbis/win32/vorbisenc.def
+1
-2
libvorbis/win32/vorbisfile.def
libvorbis/win32/vorbisfile.def
+0
-3
No files found.
libvorbis/CHANGES
View file @
4aaa4569
libvorbis 1.3.6 (2018-03-16) -- "Xiph.Org libVorbis I 20180316 (Now 100% fewer shells)"
* Fix CVE-2018-5146 - out-of-bounds write on codebook decoding.
* Fix CVE-2017-14632 - free() on unitialized data
* Fix CVE-2017-14633 - out-of-bounds read
* Fix bitrate metadata parsing.
* Fix out-of-bounds read in codebook parsing.
* Fix residue vector size in Vorbis I spec.
* Appveyor support
* Travis CI support
* Add secondary CMake build system.
* Build system fixes
libvorbis 1.3.5 (2015-03-03) -- "Xiph.Org libVorbis I 20150105 (⛄⛄⛄⛄)"
* Tolerate single-entry codebooks.
* Fix decoder crash with invalid input.
* Fix encoder crash with non-positive sample rates.
# Fix issues in vorbisfile's seek bisection code.
* Spec errata.
* Reject multiple headers of the same type.
* Various build fixes and code cleanup.
libvorbis 1.3.4 (2014-01-22) -- "Xiph.Org libVorbis I 20140122 (Turpakäräjiin)"
* Reduce codebook footprint in library code.
* Various build and documentation fixes.
libvorbis 1.3.3 (2012-02-03) -- "Xiph.Org libVorbis I 20120203 (Omnipresent)"
* vorbis: additional proofing against invalid/malicious
streams in decode (see SVN for details).
* vorbis: fix a memory leak in vorbis_commentheader_out().
* updates, corrections and clarifications in the Vorbis I specification
document
* win32: fixed project configuration which referenced two CRT versions
in output binaries.
* build warning fixes
libvorbis 1.3.2 (2010-11-01) -- "Xiph.Org libVorbis I 20101101 (Schaufenugget)"
* vorbis: additional proofing against invalid/malicious
...
...
libvorbis/COPYING
View file @
4aaa4569
Copyright (c) 2002-20
0
8 Xiph.org Foundation
Copyright (c) 2002-20
1
8 Xiph.org Foundation
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
...
...
libvorbis/Makefile.am
View file @
4aaa4569
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS
=
1.7 foreign dist-zip dist-bzip2
AUTOMAKE_OPTIONS
=
foreign 1.11 dist-zip dist-xz
ACLOCAL_AMFLAGS
=
-I
m4
SUBDIRS
=
m4 include vq lib
test
doc
...
...
@@ -16,7 +18,7 @@ pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc
EXTRA_DIST
=
\
CHANGES COPYING
\
todo.txt
autogen.sh
\
autogen.sh
\
libvorbis.spec libvorbis.spec.in
\
vorbis.m4
\
vorbis.pc.in vorbisenc.pc.in vorbisfile.pc.in
\
...
...
@@ -24,7 +26,7 @@ EXTRA_DIST = \
vorbisenc-uninstalled.pc.in
\
vorbisfile-uninstalled.pc.in
\
symbian
\
macos
macosx win32
macosx win32
DISTCHECK_CONFIGURE_FLAGS
=
--enable-docs
...
...
libvorbis/Makefile.in
View file @
4aaa4569
This diff is collapsed.
Click to expand it.
libvorbis/README
deleted
100644 → 0
View file @
e73ff8ce
********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
* by the Xiph.org Foundation, http://www.xiph.org/ *
* *
********************************************************************
Vorbis is a general purpose audio and music encoding format
contemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
MPEG audio layer 3. Unlike the MPEG sponsored formats (and other
proprietary formats such as RealAudio G2 and Windows' flavor of the
month), the Vorbis CODEC specification belongs to the public domain.
All the technical details are published and documented, and any
software entity may make full use of the format without license
fee, royalty or patent concerns.
This package contains:
* libvorbis, a BSD-style license software implementation of
the Vorbis specification by the Xiph.Org Foundation
(http://www.xiph.org/)
* libvorbisfile, a BSD-style license convenience library
built on Vorbis designed to simplify common uses
* libvorbisenc, a BSD-style license library that provides a simple,
programmatic encoding setup interface
* example code making use of libogg, libvorbis, libvorbisfile and
libvorbisenc
WHAT'S HERE:
This source distribution includes libvorbis and an example
encoder/player to demonstrate use of libvorbis as well as
documentation on the Ogg Vorbis audio coding format.
You'll need libogg (distributed separately) to compile this library.
A more comprehensive set of utilities is available in the vorbis-tools
package.
Directory:
./lib The source for the libraries, a BSD-license implementation
of the public domain Ogg Vorbis audio encoding format.
./include Library API headers
./debian Rules/spec files for building Debian .deb packages
./doc Vorbis documentation
./examples Example code illustrating programmatic use of libvorbis,
libvorbisfile and libvorbisenc
./mac Codewarrior project files and build tweaks for MacOS.
./macosx Project files for MacOS X.
./win32 Win32 projects files and build automation
./vq Internal utilities for training/building new LSP/residue
and auxiliary codebooks.
CONTACT:
The Ogg homepage is located at 'http://www.xiph.org/ogg/'.
Vorbis's homepage is located at 'http://www.xiph.org/vorbis/'.
Up to date technical documents, contact information, source code and
pre-built utilities may be found there.
The user website for Ogg Vorbis software and audio is http://vorbis.com/
BUILDING FROM TRUNK:
Development source is under subversion revision control at
https://svn.xiph.org/trunk/vorbis/. You will also need the
newest versions of autoconf, automake, libtool and pkg-config in
order to compile Vorbis from development source. A configure script
is provided for you in the source tarball distributions.
[update or checkout latest source]
./autogen.sh
make
and as root if desired:
make install
This will install the Vorbis libraries (static and shared) into
/usr/local/lib, includes into /usr/local/include and API manpages
(once we write some) into /usr/local/man.
Documentation building requires xsltproc and pdfxmltex.
BUILDING FROM TARBALL DISTRIBUTIONS:
./configure
make
and optionally (as root):
make install
BUILDING RPMS:
after normal configuring:
make dist
rpm -ta libvorbis-<version>.tar.gz
BUILDING ON MACOS 9:
Vorbis on MacOS 9 is built using Metroworks CodeWarrior. To build it,
first verify that the Ogg libraries are already built following the
instructions in the Ogg module README. Open vorbis/mac/libvorbis.mcp,
switch to the "Targets" pane, select everything, and make the project.
Do the same thing to build libvorbisenc.mcp, and libvorbisfile.mcp (in
that order). In vorbis/mac/Output you will now have both debug and final
versions of Vorbis shared libraries to link your projects against.
To build a project using Ogg Vorbis, add access paths to your
CodeWarrior project for the ogg/include, ogg/mac/Output,
vorbis/include, and vorbis/mac/Output folders. Be sure that
"interpret DOS and Unix paths" is turned on in your project; it can
be found in the "access paths" pane in your project settings. Now
simply add the shared libraries you need to your project (OggLib and
VorbisLib at least) and #include "ogg/ogg.h" and "vorbis/codec.h"
wherever you need to access Ogg and Vorbis functionality.
libvorbis/aclocal.m4
View file @
4aaa4569
This diff is collapsed.
Click to expand it.
libvorbis/autogen.sh
View file @
4aaa4569
#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
# (based on the version in enlightenment's cvs)
set
-e
package
=
"vorbis"
ACLOCAL_FLAGS
=
"-I m4"
olddir
=
`
pwd
`
srcdir
=
`
dirname
$0
`
test
-z
"
$srcdir
"
&&
srcdir
=
.
cd
"
$srcdir
"
DIE
=
0
echo
"checking for autoconf... "
(
autoconf
--version
)
< /dev/null
>
/dev/null 2>&1
||
{
echo
echo
"You must have autoconf installed to compile
$package
."
echo
"Download the appropriate package for your distribution,"
echo
"or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE
=
1
}
VERSIONGREP
=
"sed -e s/.*[^0-9
\.
]
\(
[0-9][0-9]*
\.
[0-9][0-9]*
\)
.*/
\1
/"
VERSIONMKMAJ
=
"sed -e s/
\(
[0-9][0-9]*
\)
[^0-9].*/
\\
1/"
VERSIONMKMIN
=
"sed -e s/.*[0-9][0-9]*
\.
//"
# do we need automake?
if
test
-r
Makefile.am
;
then
AM_OPTIONS
=
`
fgrep AUTOMAKE_OPTIONS Makefile.am
`
AM_NEEDED
=
`
echo
$AM_OPTIONS
|
$VERSIONGREP
`
if
test
x
"
$AM_NEEDED
"
=
"x
$AM_OPTIONS
"
;
then
AM_NEEDED
=
""
fi
if
test
-z
$AM_NEEDED
;
then
echo
-n
"checking for automake... "
AUTOMAKE
=
automake
ACLOCAL
=
aclocal
if
(
$AUTOMAKE
--version
< /dev/null
>
/dev/null 2>&1
)
;
then
echo
"yes"
else
echo
"no"
AUTOMAKE
=
fi
else
echo
-n
"checking for automake
$AM_NEEDED
or later... "
majneeded
=
`
echo
$AM_NEEDED
|
$VERSIONMKMAJ
`
minneeded
=
`
echo
$AM_NEEDED
|
$VERSIONMKMIN
`
for
am
in
automake-
$AM_NEEDED
automake
$AM_NEEDED
\
automake-1.10 automake-1.9 automake-1.8 automake-1.7 automake
;
do
(
$am
--version
< /dev/null
>
/dev/null 2>&1
)
||
continue
ver
=
`
$am
--version
< /dev/null |
head
-n
1 |
$VERSIONGREP
`
maj
=
`
echo
$ver
|
$VERSIONMKMAJ
`
min
=
`
echo
$ver
|
$VERSIONMKMIN
`
if
test
$maj
-eq
$majneeded
-a
$min
-ge
$minneeded
;
then
AUTOMAKE
=
$am
echo
$AUTOMAKE
break
fi
done
test
-z
$AUTOMAKE
&&
echo
"no"
echo
-n
"checking for aclocal
$AM_NEEDED
or later... "
for
ac
in
aclocal-
$AM_NEEDED
aclocal
$AM_NEEDED
\
aclocal-1.10 aclocal-1.9 aclocal-1.8 aclocal-1.7 aclocal
;
do
(
$ac
--version
< /dev/null
>
/dev/null 2>&1
)
||
continue
ver
=
`
$ac
--version
< /dev/null |
head
-n
1 |
$VERSIONGREP
`
maj
=
`
echo
$ver
|
$VERSIONMKMAJ
`
min
=
`
echo
$ver
|
$VERSIONMKMIN
`
if
test
$maj
-eq
$majneeded
-a
$min
-ge
$minneeded
;
then
ACLOCAL
=
$ac
echo
$ACLOCAL
break
fi
done
test
-z
$ACLOCAL
&&
echo
"no"
fi
test
-z
$AUTOMAKE
||
test
-z
$ACLOCAL
&&
{
echo
echo
"You must have automake installed to compile
$package
."
echo
"Download the appropriate package for your distribution,"
echo
"or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
exit
1
}
fi
echo
-n
"checking for libtool... "
for
LIBTOOLIZE
in
libtoolize glibtoolize nope
;
do
(
$LIBTOOLIZE
--version
)
< /dev/null
>
/dev/null 2>&1
&&
break
done
if
test
x
$LIBTOOLIZE
=
xnope
;
then
echo
"nope."
LIBTOOLIZE
=
libtoolize
else
echo
$LIBTOOLIZE
fi
(
$LIBTOOLIZE
--version
)
< /dev/null
>
/dev/null 2>&1
||
{
echo
echo
"You must have libtool installed to compile
$package
."
echo
"Download the appropriate package for your system,"
echo
"or get the source from one of the GNU ftp sites"
echo
"listed in http://www.gnu.org/order/ftp.html"
DIE
=
1
}
if
test
"
$DIE
"
-eq
1
;
then
exit
1
fi
if
test
-z
"
$*
"
;
then
echo
"I am going to run ./configure with no arguments - if you wish "
echo
"to pass any to it, please specify them on the
$0
command line."
fi
echo
"Generating configuration files for
$package
, please wait...."
test
-n
"
$srcdir
"
&&
cd
"
$srcdir
"
echo
"
$ACLOCAL
$ACLOCAL_FLAGS
"
$ACLOCAL
$ACLOCAL_FLAGS
||
exit
1
echo
"
$LIBTOOLIZE
--automake"
$LIBTOOLIZE
--automake
||
exit
1
echo
" autoheader"
autoheader
||
exit
1
echo
"
$AUTOMAKE
--add-missing
$AUTOMAKE_FLAGS
"
$AUTOMAKE
--add-missing
$AUTOMAKE_FLAGS
||
exit
1
echo
" autoconf"
autoconf
||
exit
1
echo
"Updating build configuration files for
$package
, please wait...."
cd
$olddir
$srcdir
/configure
--enable-maintainer-mode
"
$@
"
&&
echo
autoreconf
-if
libvorbis/compile
View file @
4aaa4569
#! /bin/sh
# Wrapper for compilers which do not understand
`
-c -o'.
# Wrapper for compilers which do not understand
'
-c -o'.
scriptversion
=
20
05
-0
5
-1
4
.22
scriptversion
=
20
16
-0
1
-1
1
.22
;
# UTC
# Copyright (C) 1999
, 2000, 2003, 2004, 2005
Free Software Foundation, Inc.
# Copyright (C) 1999
-2017
Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
...
...
@@ -17,8 +17,7 @@ scriptversion=2005-05-14.22
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
...
...
@@ -29,21 +28,224 @@ scriptversion=2005-05-14.22
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
nl
=
'
'
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent tools from complaining about whitespace usage.
IFS
=
" ""
$nl
"
file_conv
=
# func_file_conv build_file lazy
# Convert a $build file to $host form and store it in $file
# Currently only supports Windows hosts. If the determined conversion
# type is listed in (the comma separated) LAZY, no conversion will
# take place.
func_file_conv
()
{
file
=
$1
case
$file
in
/
|
/[!/]
*
)
# absolute file, and not a UNC file
if
test
-z
"
$file_conv
"
;
then
# lazily determine how to convert abs files
case
`
uname
-s
`
in
MINGW
*
)
file_conv
=
mingw
;;
CYGWIN
*
)
file_conv
=
cygwin
;;
*
)
file_conv
=
wine
;;
esac
fi
case
$file_conv
/,
$2
,
in
*
,
$file_conv
,
*
)
;;
mingw/
*
)
file
=
`
cmd //C
echo
"
$file
"
|
sed
-e
's/"\(.*\) " *$/\1/'
`
;;
cygwin/
*
)
file
=
`
cygpath
-m
"
$file
"
||
echo
"
$file
"
`
;;
wine/
*
)
file
=
`
winepath
-w
"
$file
"
||
echo
"
$file
"
`
;;
esac
;;
esac
}
# func_cl_dashL linkdir
# Make cl look for libraries in LINKDIR
func_cl_dashL
()
{
func_file_conv
"
$1
"
if
test
-z
"
$lib_path
"
;
then
lib_path
=
$file
else
lib_path
=
"
$lib_path
;
$file
"
fi
linker_opts
=
"
$linker_opts
-LIBPATH:
$file
"
}
# func_cl_dashl library
# Do a library search-path lookup for cl
func_cl_dashl
()
{
lib
=
$1
found
=
no
save_IFS
=
$IFS
IFS
=
';'
for
dir
in
$lib_path
$LIB
do
IFS
=
$save_IFS
if
$shared
&&
test
-f
"
$dir
/
$lib
.dll.lib"
;
then
found
=
yes
lib
=
$dir
/
$lib
.dll.lib
break
fi
if
test
-f
"
$dir
/
$lib
.lib"
;
then
found
=
yes
lib
=
$dir
/
$lib
.lib
break
fi
if
test
-f
"
$dir
/lib
$lib
.a"
;
then
found
=
yes
lib
=
$dir
/lib
$lib
.a
break
fi
done
IFS
=
$save_IFS
if
test
"
$found
"
!=
yes
;
then
lib
=
$lib
.lib
fi
}
# func_cl_wrapper cl arg...
# Adjust compile command to suit cl
func_cl_wrapper
()
{
# Assume a capable shell
lib_path
=
shared
=
:
linker_opts
=
for
arg
do
if
test
-n
"
$eat
"
;
then
eat
=
else
case
$1
in
-o
)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat
=
1
case
$2
in
*
.o
|
*
.[oO][bB][jJ]
)
func_file_conv
"
$2
"
set
x
"
$@
"
-Fo
"
$file
"
shift
;;
*
)
func_file_conv
"
$2
"
set
x
"
$@
"
-Fe
"
$file
"
shift
;;
esac
;;
-I
)
eat
=
1
func_file_conv
"
$2
"
mingw
set
x
"
$@
"
-I
"
$file
"
shift
;;
-I
*
)
func_file_conv
"
${
1
#-I
}
"
mingw
set
x
"
$@
"
-I
"
$file
"
shift
;;
-l
)
eat
=
1
func_cl_dashl
"
$2
"
set
x
"
$@
"
"
$lib
"
shift
;;
-l
*
)
func_cl_dashl
"
${
1
#-l
}
"
set
x
"
$@
"
"
$lib
"
shift
;;
-L
)
eat
=
1
func_cl_dashL
"
$2
"
;;
-L
*
)
func_cl_dashL
"
${
1
#-L
}
"
;;
-static
)
shared
=
false
;;
-Wl
,
*
)
arg
=
${
1
#-Wl,
}
save_ifs
=
"
$IFS
"
;
IFS
=
','
for
flag
in
$arg
;
do
IFS
=
"
$save_ifs
"
linker_opts
=
"
$linker_opts
$flag
"
done
IFS
=
"
$save_ifs
"
;;
-Xlinker
)
eat
=
1
linker_opts
=
"
$linker_opts
$2
"
;;
-
*
)
set
x
"
$@
"
"
$1
"
shift
;;
*
.cc
|
*
.CC
|
*
.cxx
|
*
.CXX
|
*
.[cC]++
)
func_file_conv
"
$1
"
set
x
"
$@
"
-Tp
"
$file
"