Skip to content

Commit 50c1cc2

Browse files
author
Monty
committed
Put AoTuV tunings merge (along with bugfixes) on the mainline. This
is ready for wider correctness testing; no substantial issues expected. svn path=/trunk/vorbis/; revision=7037
1 parent 42f2d30 commit 50c1cc2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+17064
-13732
lines changed

examples/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
77
noinst_PROGRAMS = decoder_example encoder_example chaining_example\
88
vorbisfile_example seeking_example
99

10-
LDFLAGS = -all-static
11-
LDADD = ../lib/libvorbis.la
10+
LDFLAGS = -all-static
11+
LDADD = ../lib/libvorbis.la
1212

1313
decoder_example_SOURCES = decoder_example.c
1414
encoder_example_SOURCES = encoder_example.c

examples/encoder_example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ int main(){
121121
using the bitrate interface, and then turning bitrate management off:
122122
123123
ret = ( vorbis_encode_setup_managed(&vi,2,44100,-1,128000,-1) ||
124-
vorbis_encode_ctl(&vi,OV_ECTL_RATEMANAGE_AVG,NULL) ||
124+
vorbis_encode_ctl(&vi,OV_ECTL_RATEMANAGE2_SET,NULL) ||
125125
vorbis_encode_setup_init(&vi));
126126
127127
*********************************************************************/
128128

129-
ret=vorbis_encode_init_vbr(&vi,2,44100,.5);
129+
ret=vorbis_encode_init_vbr(&vi,2,44100,0.1);
130130

131131
/* do not continue if setup failed; this can happen if we ask for a
132132
mode that libVorbis does not support (eg, too low a bitrate, etc,

lib/bitrate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ int vorbis_bitrate_flushpacket(vorbis_dsp_state *vd,ogg_packet *op){
223223

224224
if(vorbis_bitrate_managed(vb))
225225
choice=bm->choice;
226-
226+
227227
op->packet=oggpack_get_buffer(vbi->packetblob[choice]);
228228
op->bytes=oggpack_bytes(vbi->packetblob[choice]);
229229
op->b_o_s=0;

0 commit comments

Comments
 (0)