[xiph-cvs] cvs commit: vorbis/lib vorbisenc.c
Monty
xiphmont at xiph.org
Tue Dec 30 04:44:29 PST 2003
xiphmont 03/12/30 07:44:29
Modified: lib vorbisenc.c
Log:
Kill another minor bug in bitrate reservoir setup when average isn't
specced (as it keys off nominal by default)
Revision Changes Path
1.50 +2 -2 vorbis/lib/vorbisenc.c
Index: vorbisenc.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/vorbisenc.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- vorbisenc.c 30 Dec 2003 12:23:29 -0000 1.49
+++ vorbisenc.c 30 Dec 2003 12:44:28 -0000 1.50
@@ -11,7 +11,7 @@
********************************************************************
function: simple programmatic interface for encoder mode setup
- last mod: $Id: vorbisenc.c,v 1.49 2003/12/30 12:23:29 xiphmont Exp $
+ last mod: $Id: vorbisenc.c,v 1.50 2003/12/30 12:44:28 xiphmont Exp $
********************************************************************/
@@ -975,7 +975,7 @@
hi->bitrate_max=max_bitrate;
hi->bitrate_av=tnominal;
hi->bitrate_av_damp=.75f; /* full range in no less than 3/4 second */
- hi->bitrate_reservoir=tnominal;
+ hi->bitrate_reservoir=nominal_bitrate;
hi->bitrate_reservoir_bias=.2; /* bias toward hoarding bits */
return(ret);
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list