[xiph-cvs] cvs commit: vorbis-tools/oggenc oggenc.c
Michael Smith
msmith at xiph.org
Sun Jun 2 01:32:41 PDT 2002
msmith 02/06/02 01:32:40
Modified: oggenc oggenc.c
Log:
Silly bug resulting in from message when resampling
Revision Changes Path
1.55 +2 -1 vorbis-tools/oggenc/oggenc.c
Index: oggenc.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/oggenc.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- oggenc.c 2002/05/30 12:13:22 1.54
+++ oggenc.c 2002/06/02 08:32:40 1.55
@@ -289,13 +289,14 @@
enc_opts.quality = opt.quality;
if(opt.resamplefreq && opt.resamplefreq != enc_opts.rate) {
+ int fromrate = enc_opts.rate;
enc_opts.resamplefreq = opt.resamplefreq;
if(setup_resample(&enc_opts)) {
errors++;
goto clear_all;
}
else if(!opt.quiet)
- fprintf(stderr, _("Resampling input from %d Hz to %d Hz\n"), enc_opts.rate, opt.resamplefreq);
+ fprintf(stderr, _("Resampling input from %d Hz to %d Hz\n"), fromrate, opt.resamplefreq);
}
if(opt.downmix) {
<p><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