diff options
author | Monty <xiphmont@xiph.org> | 2009-07-10 02:49:31 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2009-07-10 02:49:31 +0000 |
commit | b6d6e636fa36ca9adc21f397871b87f95332bd5e (patch) | |
tree | 2695d97c054cea08fdcc53dca8277ab8c0e9e0b2 | |
parent | 329f34733359809d6749e217838900eb0188e851 (diff) | |
download | libvorbis-git-b6d6e636fa36ca9adc21f397871b87f95332bd5e.tar.gz |
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
-rw-r--r-- | CHANGES | 10 | ||||
-rw-r--r-- | configure.ac | 11 | ||||
-rw-r--r-- | examples/chaining_example.c | 4 | ||||
-rw-r--r-- | examples/decoder_example.c | 8 | ||||
-rw-r--r-- | include/vorbis/vorbisfile.h | 4 | ||||
-rw-r--r-- | lib/info.c | 4 | ||||
-rw-r--r-- | lib/vorbisfile.c | 3 | ||||
-rw-r--r-- | macosx/Info.plist | 8 |
8 files changed, 34 insertions, 18 deletions
@@ -1,3 +1,13 @@ +libvorbis 1.2.3 (2009-07-09) -- "Xiph.Org libVorbis I 20090709" + + * correct a vorbisfile bug that prevented proper playback of + Vorbis files where all audio in a logical stream is in a + single page + * Additional decode setup hardening against malicious streams + * Add 'OV_EXCLUDE_STATIC_CALLBACKS' define for developers who + wish to avoid avoid unused symbol warnings from the static + callbacks defined in vorbisfile.h + libvorbis 1.2.2 (2009-06-24) -- "Xiph.Org libVorbis I 20090624" * define VENDOR and ENCODER strings diff --git a/configure.ac b/configure.ac index b6450e38..a04ed38a 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ dnl Initialization and Versioning dnl ------------------------------------------------ -AC_INIT([libvorbis],[1.2.2],[vorbis-dev@xiph.org]) +AC_INIT([libvorbis],[1.2.3],[vorbis-dev@xiph.org]) AC_CONFIG_SRCDIR([lib/mdct.c]) @@ -24,14 +24,17 @@ dnl - interfaces added -> increment AGE dnl - interfaces removed -> AGE = 0 V_LIB_CURRENT=4 -V_LIB_REVISION=2 +V_LIB_REVISION=3 V_LIB_AGE=4 + VF_LIB_CURRENT=6 -VF_LIB_REVISION=1 +VF_LIB_REVISION=2 VF_LIB_AGE=3 + VE_LIB_CURRENT=2 -VE_LIB_REVISION=5 +VE_LIB_REVISION=6 VE_LIB_AGE=0 + AC_SUBST(V_LIB_CURRENT) AC_SUBST(V_LIB_REVISION) AC_SUBST(V_LIB_AGE) diff --git a/examples/chaining_example.c b/examples/chaining_example.c index a79422f2..4d652fd1 100644 --- a/examples/chaining_example.c +++ b/examples/chaining_example.c @@ -29,7 +29,7 @@ int main(){ int i; #ifdef _WIN32 /* We need to set stdin to binary mode. Damn windows. */ - /* Beware the evil ifdef. We avoid these where we can, but this one we + /* Beware the evil ifdef. We avoid these where we can, but this one we cannot. Don't add any more, you'll probably go to hell if you do. */ _setmode( _fileno( stdin ), _O_BINARY ); #endif @@ -39,7 +39,7 @@ int main(){ printf("Could not open input as an OggVorbis file.\n\n"); exit(1); } - + /* print details about each logical bitstream in the input */ if(ov_seekable(&ov)){ printf("Input bitstream contained %ld logical bitstream section(s).\n", diff --git a/examples/decoder_example.c b/examples/decoder_example.c index b360fdd9..68c40d13 100644 --- a/examples/decoder_example.c +++ b/examples/decoder_example.c @@ -5,7 +5,7 @@ * 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 * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * * by the Xiph.Org Foundation http://www.xiph.org/ * * * ******************************************************************** @@ -46,18 +46,18 @@ int main(){ stream of packets */ ogg_page og; /* one Ogg bitstream page. Vorbis packets are inside */ ogg_packet op; /* one raw packet of data for decode */ - + vorbis_info vi; /* struct that stores all the static vorbis bitstream settings */ vorbis_comment vc; /* struct that stores all the bitstream user comments */ vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */ vorbis_block vb; /* local working space for packet->PCM decode */ - + char *buffer; int bytes; #ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */ - /* Beware the evil ifdef. We avoid these where we can, but this one we + /* Beware the evil ifdef. We avoid these where we can, but this one we cannot. Don't add any more, you'll probably go to hell if you do. */ _setmode( _fileno( stdin ), _O_BINARY ); _setmode( _fileno( stdout ), _O_BINARY ); diff --git a/include/vorbis/vorbisfile.h b/include/vorbis/vorbisfile.h index c4e4e559..98fffa3c 100644 --- a/include/vorbis/vorbisfile.h +++ b/include/vorbis/vorbisfile.h @@ -43,6 +43,8 @@ typedef struct { long (*tell_func) (void *datasource); } ov_callbacks; +#ifndef OV_EXCLUDE_STATIC_CALLBACKS + /* a few sets of convenient callbacks, especially for use under * Windows where ov_open_callbacks() should always be used instead of * ov_open() to avoid problems with incompatable crt.o version linking @@ -70,8 +72,6 @@ static int _ov_header_fseek_wrap(FILE *f,ogg_int64_t off,int whence){ * we're using (the same one as the main application). */ -#ifndef OV_EXCLUDE_STATIC_CALLBACKS - static ov_callbacks OV_CALLBACKS_DEFAULT = { (size_t (*)(void *, size_t, size_t, void *)) fread, (int (*)(void *, ogg_int64_t, int)) _ov_header_fseek_wrap, @@ -31,8 +31,8 @@ #include "misc.h" #include "os.h" -#define GENERAL_VENDOR_STRING "Xiph.Org libVorbis 1.2.3pre" -#define ENCODE_VENDOR_STRING "Xiph.Org libVorbis I 20090707" +#define GENERAL_VENDOR_STRING "Xiph.Org libVorbis 1.2.3" +#define ENCODE_VENDOR_STRING "Xiph.Org libVorbis I 20090709" /* helpers */ static int ilog2(unsigned int v){ diff --git a/lib/vorbisfile.c b/lib/vorbisfile.c index 7c7edd36..75ef71a5 100644 --- a/lib/vorbisfile.c +++ b/lib/vorbisfile.c @@ -22,6 +22,9 @@ #include <math.h> #include "vorbis/codec.h" + +/* we don't need or want the static callback symbols here */ +#define OV_EXCLUDE_STATIC_CALLBACKS #include "vorbis/vorbisfile.h" #include "os.h" diff --git a/macosx/Info.plist b/macosx/Info.plist index 586b0cc2..63e1b09c 100644 --- a/macosx/Info.plist +++ b/macosx/Info.plist @@ -7,7 +7,7 @@ <key>CFBundleExecutable</key> <string>Vorbis</string> <key>CFBundleGetInfoString</key> - <string>Vorbis framework 1.2.2, Copyright © 1994-2009 Xiph.Org Foundation</string> + <string>Vorbis framework 1.2.3, Copyright © 1994-2009 Xiph.Org Foundation</string> <key>CFBundleIconFile</key> <string></string> <key>CFBundleIdentifier</key> @@ -17,13 +17,13 @@ <key>CFBundlePackageType</key> <string>FMWK</string> <key>CFBundleShortVersionString</key> - <string>1.2.2</string> + <string>1.2.3</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>1.2.2</string> + <string>1.2.3</string> <key>NSHumanReadableCopyright</key> - <string>Vorbis framework 1.2.2, Copyright © 1994-2009 Xiph.Org Foundation</string> + <string>Vorbis framework 1.2.3, Copyright © 1994-2009 Xiph.Org Foundation</string> <key>CSResourcesFileMapped</key> <true/> </dict> |